diff options
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 */ |