aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2009-10-15 15:10:16 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 16:48:18 -0400
commit53623f1a09c7a7d23b74f0f7d93dba0ebde1006b (patch)
treeb057e1ce55e81191c0eb002dc146e9c788eb4a00 /net/mac80211/iface.c
parente5e2647fd6ceef2cdc479954b84517535eb7febd (diff)
mac80211: replace netif_tx_{start,stop,wake}_all_queues
Replace netif_tx_{start,stop,wake}_all_queues with the single-queue equivalents (i.e. netif_{start,stop,wake}_queue). Since we are down to a single queue, these should peform slightly better. Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r--net/mac80211/iface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index 87aff1d923ba..14f10eb91c5c 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -314,7 +314,7 @@ static int ieee80211_open(struct net_device *dev)
314 if (sdata->vif.type == NL80211_IFTYPE_STATION) 314 if (sdata->vif.type == NL80211_IFTYPE_STATION)
315 ieee80211_queue_work(&local->hw, &sdata->u.mgd.work); 315 ieee80211_queue_work(&local->hw, &sdata->u.mgd.work);
316 316
317 netif_tx_start_all_queues(dev); 317 netif_start_queue(dev);
318 318
319 return 0; 319 return 0;
320 err_del_interface: 320 err_del_interface:
@@ -343,7 +343,7 @@ static int ieee80211_stop(struct net_device *dev)
343 /* 343 /*
344 * Stop TX on this interface first. 344 * Stop TX on this interface first.
345 */ 345 */
346 netif_tx_stop_all_queues(dev); 346 netif_stop_queue(dev);
347 347
348 /* 348 /*
349 * Now delete all active aggregation sessions. 349 * Now delete all active aggregation sessions.