diff options
-rw-r--r-- | net/mac80211/iface.c | 4 | ||||
-rw-r--r-- | net/mac80211/mlme.c | 4 | ||||
-rw-r--r-- | net/mac80211/offchannel.c | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index c20ddddc3f2b..264a6c975f8b 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c | |||
@@ -329,7 +329,7 @@ static int ieee80211_open(struct net_device *dev) | |||
329 | if (sdata->vif.type == NL80211_IFTYPE_STATION) | 329 | if (sdata->vif.type == NL80211_IFTYPE_STATION) |
330 | ieee80211_queue_work(&local->hw, &sdata->u.mgd.work); | 330 | ieee80211_queue_work(&local->hw, &sdata->u.mgd.work); |
331 | 331 | ||
332 | netif_start_queue(dev); | 332 | netif_tx_start_all_queues(dev); |
333 | 333 | ||
334 | return 0; | 334 | return 0; |
335 | err_del_interface: | 335 | err_del_interface: |
@@ -357,7 +357,7 @@ static int ieee80211_stop(struct net_device *dev) | |||
357 | /* | 357 | /* |
358 | * Stop TX on this interface first. | 358 | * Stop TX on this interface first. |
359 | */ | 359 | */ |
360 | netif_stop_queue(dev); | 360 | netif_tx_stop_all_queues(dev); |
361 | 361 | ||
362 | /* | 362 | /* |
363 | * Purge work for this interface. | 363 | * Purge work for this interface. |
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 72920ee07885..97bcf2278bdb 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -723,7 +723,7 @@ static void ieee80211_set_associated(struct ieee80211_sub_if_data *sdata, | |||
723 | ieee80211_recalc_smps(local, sdata); | 723 | ieee80211_recalc_smps(local, sdata); |
724 | mutex_unlock(&local->iflist_mtx); | 724 | mutex_unlock(&local->iflist_mtx); |
725 | 725 | ||
726 | netif_start_queue(sdata->dev); | 726 | netif_tx_start_all_queues(sdata->dev); |
727 | netif_carrier_on(sdata->dev); | 727 | netif_carrier_on(sdata->dev); |
728 | } | 728 | } |
729 | 729 | ||
@@ -759,7 +759,7 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata) | |||
759 | * time -- we don't want the scan code to enable queues. | 759 | * time -- we don't want the scan code to enable queues. |
760 | */ | 760 | */ |
761 | 761 | ||
762 | netif_stop_queue(sdata->dev); | 762 | netif_tx_stop_all_queues(sdata->dev); |
763 | netif_carrier_off(sdata->dev); | 763 | netif_carrier_off(sdata->dev); |
764 | 764 | ||
765 | rcu_read_lock(); | 765 | rcu_read_lock(); |
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 */ |