diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-01-06 17:22:54 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-06 17:26:13 -0500 |
commit | cfa6cb2048beb35ae7f1d2fa19160aab240557d1 (patch) | |
tree | 9f3215138783d7a6cfd341e51495c1c2a725cfb4 /net/mac80211/offchannel.c | |
parent | 8271195e38d01f3551bb10b1c7de856cd8507882 (diff) | |
parent | 8a5b33f55452c226aa0e47d737e541985ff10e16 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Conflicts:
net/mac80211/scan.c
net/mac80211/wme.c
Diffstat (limited to 'net/mac80211/offchannel.c')
-rw-r--r-- | net/mac80211/offchannel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/mac80211/offchannel.c b/net/mac80211/offchannel.c index a7bbfc40a648..1facfeb1f79b 100644 --- a/net/mac80211/offchannel.c +++ b/net/mac80211/offchannel.c | |||
@@ -113,7 +113,7 @@ void ieee80211_offchannel_stop_beaconing(struct ieee80211_local *local) | |||
113 | */ | 113 | */ |
114 | if (sdata->vif.type != NL80211_IFTYPE_STATION && | 114 | if (sdata->vif.type != NL80211_IFTYPE_STATION && |
115 | sdata->vif.type != NL80211_IFTYPE_MONITOR) | 115 | sdata->vif.type != NL80211_IFTYPE_MONITOR) |
116 | netif_stop_queue(sdata->dev); | 116 | netif_tx_stop_all_queues(sdata->dev); |
117 | } | 117 | } |
118 | mutex_unlock(&local->iflist_mtx); | 118 | mutex_unlock(&local->iflist_mtx); |
119 | } | 119 | } |
@@ -131,7 +131,7 @@ void ieee80211_offchannel_stop_station(struct ieee80211_local *local) | |||
131 | continue; | 131 | continue; |
132 | 132 | ||
133 | if (sdata->vif.type == NL80211_IFTYPE_STATION) { | 133 | if (sdata->vif.type == NL80211_IFTYPE_STATION) { |
134 | netif_stop_queue(sdata->dev); | 134 | netif_tx_stop_all_queues(sdata->dev); |
135 | if (sdata->u.mgd.associated) | 135 | if (sdata->u.mgd.associated) |
136 | ieee80211_offchannel_ps_enable(sdata); | 136 | ieee80211_offchannel_ps_enable(sdata); |
137 | } | 137 | } |
@@ -153,7 +153,7 @@ void ieee80211_offchannel_return(struct ieee80211_local *local, | |||
153 | if (sdata->vif.type == NL80211_IFTYPE_STATION) { | 153 | if (sdata->vif.type == NL80211_IFTYPE_STATION) { |
154 | if (sdata->u.mgd.associated) | 154 | if (sdata->u.mgd.associated) |
155 | ieee80211_offchannel_ps_disable(sdata); | 155 | ieee80211_offchannel_ps_disable(sdata); |
156 | netif_wake_queue(sdata->dev); | 156 | netif_tx_wake_all_queues(sdata->dev); |
157 | } | 157 | } |
158 | 158 | ||
159 | /* re-enable beaconing */ | 159 | /* re-enable beaconing */ |