diff options
author | John W. Linville <linville@tuxdriver.com> | 2009-10-15 15:10:16 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:18 -0400 |
commit | 53623f1a09c7a7d23b74f0f7d93dba0ebde1006b (patch) | |
tree | b057e1ce55e81191c0eb002dc146e9c788eb4a00 /net/mac80211/mlme.c | |
parent | e5e2647fd6ceef2cdc479954b84517535eb7febd (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/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 33a696f5f305..71220a5d1406 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -929,7 +929,7 @@ static void ieee80211_set_associated(struct ieee80211_sub_if_data *sdata, | |||
929 | ieee80211_recalc_ps(local, -1); | 929 | ieee80211_recalc_ps(local, -1); |
930 | mutex_unlock(&local->iflist_mtx); | 930 | mutex_unlock(&local->iflist_mtx); |
931 | 931 | ||
932 | netif_tx_start_all_queues(sdata->dev); | 932 | netif_start_queue(sdata->dev); |
933 | netif_carrier_on(sdata->dev); | 933 | netif_carrier_on(sdata->dev); |
934 | } | 934 | } |
935 | 935 | ||
@@ -1061,7 +1061,7 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata, | |||
1061 | * time -- we don't want the scan code to enable queues. | 1061 | * time -- we don't want the scan code to enable queues. |
1062 | */ | 1062 | */ |
1063 | 1063 | ||
1064 | netif_tx_stop_all_queues(sdata->dev); | 1064 | netif_stop_queue(sdata->dev); |
1065 | netif_carrier_off(sdata->dev); | 1065 | netif_carrier_off(sdata->dev); |
1066 | 1066 | ||
1067 | rcu_read_lock(); | 1067 | rcu_read_lock(); |