Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159254
b: refs/heads/master
c: 91a3bd7
h: refs/heads/master
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Jul 27, 2009
1 parent e79b253 commit a985856
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 485318471e85c1ddb5e3056fa30fdbbc46d759c6
refs/heads/master: 91a3bd76155085d41520cf41ede39e8b7f01aeff
6 changes: 3 additions & 3 deletions trunk/net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,9 @@ static void ieee80211_mgd_probe_ap(struct ieee80211_sub_if_data *sdata,
if (!netif_running(sdata->dev))
return;

if (sdata->local->scanning)
return;

mutex_lock(&ifmgd->mtx);

if (!ifmgd->associated)
Expand Down Expand Up @@ -2213,9 +2216,6 @@ static void ieee80211_sta_monitor_work(struct work_struct *work)
container_of(work, struct ieee80211_sub_if_data,
u.mgd.monitor_work);

if (sdata->local->scanning)
return;

ieee80211_mgd_probe_ap(sdata, false);
}

Expand Down

0 comments on commit a985856

Please sign in to comment.