diff options
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r-- | net/mac80211/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index 60c4dbf92625..fb6e511ee0be 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -3301,9 +3301,11 @@ void ieee80211_init_tx_queue(struct ieee80211_sub_if_data *sdata, | |||
3301 | if (sta) { | 3301 | if (sta) { |
3302 | txqi->txq.sta = &sta->sta; | 3302 | txqi->txq.sta = &sta->sta; |
3303 | sta->sta.txq[tid] = &txqi->txq; | 3303 | sta->sta.txq[tid] = &txqi->txq; |
3304 | txqi->txq.tid = tid; | ||
3304 | txqi->txq.ac = ieee802_1d_to_ac[tid & 7]; | 3305 | txqi->txq.ac = ieee802_1d_to_ac[tid & 7]; |
3305 | } else { | 3306 | } else { |
3306 | sdata->vif.txq = &txqi->txq; | 3307 | sdata->vif.txq = &txqi->txq; |
3308 | txqi->txq.tid = 0; | ||
3307 | txqi->txq.ac = IEEE80211_AC_BE; | 3309 | txqi->txq.ac = IEEE80211_AC_BE; |
3308 | } | 3310 | } |
3309 | } | 3311 | } |