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>
This commit is contained in:
parent
e5e2647fd6
commit
53623f1a09
3 changed files with 9 additions and 9 deletions
|
@ -929,7 +929,7 @@ static void ieee80211_set_associated(struct ieee80211_sub_if_data *sdata,
|
|||
ieee80211_recalc_ps(local, -1);
|
||||
mutex_unlock(&local->iflist_mtx);
|
||||
|
||||
netif_tx_start_all_queues(sdata->dev);
|
||||
netif_start_queue(sdata->dev);
|
||||
netif_carrier_on(sdata->dev);
|
||||
}
|
||||
|
||||
|
@ -1061,7 +1061,7 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata,
|
|||
* time -- we don't want the scan code to enable queues.
|
||||
*/
|
||||
|
||||
netif_tx_stop_all_queues(sdata->dev);
|
||||
netif_stop_queue(sdata->dev);
|
||||
netif_carrier_off(sdata->dev);
|
||||
|
||||
rcu_read_lock();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue