1 From: Felix Fietkau <nbd@openwrt.org>
2 Date: Mon, 5 Oct 2015 17:41:25 +0200
3 Subject: [PATCH] mac80211: initialize tid field in struct ieee80211_txq
5 Signed-off-by: Felix Fietkau <nbd@openwrt.org>
8 --- a/net/mac80211/util.c
9 +++ b/net/mac80211/util.c
10 @@ -3288,9 +3288,11 @@ void ieee80211_init_tx_queue(struct ieee
12 txqi->txq.sta = &sta->sta;
13 sta->sta.txq[tid] = &txqi->txq;
14 + txqi->txq.tid = tid;
15 txqi->txq.ac = ieee802_1d_to_ac[tid & 7];
17 sdata->vif.txq = &txqi->txq;
19 txqi->txq.ac = IEEE80211_AC_BE;