|
@@ -1166,6 +1166,9 @@ static void ieee80211_mgd_probe_ap(struct ieee80211_sub_if_data *sdata,
|
|
if (!netif_running(sdata->dev))
|
|
if (!netif_running(sdata->dev))
|
|
return;
|
|
return;
|
|
|
|
|
|
|
|
+ if (sdata->local->scanning)
|
|
|
|
+ return;
|
|
|
|
+
|
|
mutex_lock(&ifmgd->mtx);
|
|
mutex_lock(&ifmgd->mtx);
|
|
|
|
|
|
if (!ifmgd->associated)
|
|
if (!ifmgd->associated)
|
|
@@ -2213,9 +2216,6 @@ static void ieee80211_sta_monitor_work(struct work_struct *work)
|
|
container_of(work, struct ieee80211_sub_if_data,
|
|
container_of(work, struct ieee80211_sub_if_data,
|
|
u.mgd.monitor_work);
|
|
u.mgd.monitor_work);
|
|
|
|
|
|
- if (sdata->local->scanning)
|
|
|
|
- return;
|
|
|
|
-
|
|
|
|
ieee80211_mgd_probe_ap(sdata, false);
|
|
ieee80211_mgd_probe_ap(sdata, false);
|
|
}
|
|
}
|
|
|
|
|