Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57712
b: refs/heads/master
c: 14042cb
h: refs/heads/master
v: v3
  • Loading branch information
Mattias Nissler authored and John W. Linville committed Jun 12, 2007
1 parent 2f3a910 commit 3675571
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0107136c04290ddd765adc568fe7a335d355d17e
refs/heads/master: 14042cbefce4af12f7ca35d2604686154d803291
12 changes: 12 additions & 0 deletions trunk/net/mac80211/ieee80211_sta.c
Original file line number Diff line number Diff line change
Expand Up @@ -2592,11 +2592,17 @@ void ieee80211_scan_completed(struct ieee80211_hw *hw)

read_lock(&local->sub_if_lock);
list_for_each_entry(sdata, &local->sub_if_list, list) {

/* No need to wake the master device. */
if (sdata->dev == local->mdev)
continue;

if (sdata->type == IEEE80211_IF_TYPE_STA) {
if (sdata->u.sta.associated)
ieee80211_send_nullfunc(local, sdata, 0);
ieee80211_sta_timer((unsigned long)sdata);
}

netif_wake_queue(sdata->dev);
}
read_unlock(&local->sub_if_lock);
Expand Down Expand Up @@ -2738,6 +2744,12 @@ static int ieee80211_sta_start_scan(struct net_device *dev,

read_lock(&local->sub_if_lock);
list_for_each_entry(sdata, &local->sub_if_list, list) {

/* Don't stop the master interface, otherwise we can't transmit
* probes! */
if (sdata->dev == local->mdev)
continue;

netif_stop_queue(sdata->dev);
if (sdata->type == IEEE80211_IF_TYPE_STA &&
sdata->u.sta.associated)
Expand Down

0 comments on commit 3675571

Please sign in to comment.