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;
|
break;
|
||||||
case ATH10K_SCAN_RUNNING:
|
case ATH10K_SCAN_RUNNING:
|
||||||
case ATH10K_SCAN_ABORTING:
|
case ATH10K_SCAN_ABORTING:
|
||||||
if (!ar->scan.is_roc) {
|
if (!ar->scan.is_roc)
|
||||||
struct cfg80211_scan_info info = {
|
ieee80211_scan_completed(ar->hw,
|
||||||
.aborted = (ar->scan.state ==
|
(ar->scan.state ==
|
||||||
ATH10K_SCAN_ABORTING),
|
ATH10K_SCAN_ABORTING));
|
||||||
};
|
else if (ar->scan.roc_notify)
|
||||||
|
|
||||||
ieee80211_scan_completed(ar->hw, &info);
|
|
||||||
} else if (ar->scan.roc_notify) {
|
|
||||||
ieee80211_remain_on_channel_expired(ar->hw);
|
ieee80211_remain_on_channel_expired(ar->hw);
|
||||||
}
|
|
||||||
/* fall through */
|
/* fall through */
|
||||||
case ATH10K_SCAN_STARTING:
|
case ATH10K_SCAN_STARTING:
|
||||||
ar->scan.state = ATH10K_SCAN_IDLE;
|
ar->scan.state = ATH10K_SCAN_IDLE;
|
||||||
|
|
Loading…
Add table
Reference in a new issue