|
@@ -642,11 +642,15 @@ static bool cfg80211_is_all_idle(void)
|
|
|
* All devices must be idle as otherwise if you are actively
|
|
|
* scanning some new beacon hints could be learned and would
|
|
|
* count as new regulatory hints.
|
|
|
+ * Also if there is any other active beaconing interface we
|
|
|
+ * need not issue a disconnect hint and reset any info such
|
|
|
+ * as chan dfs state, etc.
|
|
|
*/
|
|
|
list_for_each_entry(rdev, &cfg80211_rdev_list, list) {
|
|
|
list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) {
|
|
|
wdev_lock(wdev);
|
|
|
- if (wdev->conn || wdev->current_bss)
|
|
|
+ if (wdev->conn || wdev->current_bss ||
|
|
|
+ cfg80211_beaconing_iface_active(wdev))
|
|
|
is_all_idle = false;
|
|
|
wdev_unlock(wdev);
|
|
|
}
|