Merge "Revert "mac80211: Add support for beacon report radio measurement""
This commit is contained in:
commit
b248e5eaea
1 changed files with 5 additions and 9 deletions
|
@ -3899,16 +3899,12 @@ void __ath10k_scan_finish(struct ath10k *ar)
|
|||
break;
|
||||
case ATH10K_SCAN_RUNNING:
|
||||
case ATH10K_SCAN_ABORTING:
|
||||
if (!ar->scan.is_roc) {
|
||||
struct cfg80211_scan_info info = {
|
||||
.aborted = (ar->scan.state ==
|
||||
ATH10K_SCAN_ABORTING),
|
||||
};
|
||||
|
||||
ieee80211_scan_completed(ar->hw, &info);
|
||||
} else if (ar->scan.roc_notify) {
|
||||
if (!ar->scan.is_roc)
|
||||
ieee80211_scan_completed(ar->hw,
|
||||
(ar->scan.state ==
|
||||
ATH10K_SCAN_ABORTING));
|
||||
else if (ar->scan.roc_notify)
|
||||
ieee80211_remain_on_channel_expired(ar->hw);
|
||||
}
|
||||
/* fall through */
|
||||
case ATH10K_SCAN_STARTING:
|
||||
ar->scan.state = ATH10K_SCAN_IDLE;
|
||||
|
|
Loading…
Add table
Reference in a new issue