From 241a914046bc6e6038e1572b97ab8c09f1496db7 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 5 Oct 2015 15:43:14 +0000 Subject: mac80211: add a fix to initialize the tid field in the tx queue struct Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47142 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...nitialize-tid-field-in-struct-ieee80211_tx.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 package/kernel/mac80211/patches/338-mac80211-initialize-tid-field-in-struct-ieee80211_tx.patch diff --git a/package/kernel/mac80211/patches/338-mac80211-initialize-tid-field-in-struct-ieee80211_tx.patch b/package/kernel/mac80211/patches/338-mac80211-initialize-tid-field-in-struct-ieee80211_tx.patch new file mode 100644 index 0000000000..2f492e0b6f --- /dev/null +++ b/package/kernel/mac80211/patches/338-mac80211-initialize-tid-field-in-struct-ieee80211_tx.patch @@ -0,0 +1,21 @@ +From: Felix Fietkau +Date: Mon, 5 Oct 2015 17:41:25 +0200 +Subject: [PATCH] mac80211: initialize tid field in struct ieee80211_txq + +Signed-off-by: Felix Fietkau +--- + +--- a/net/mac80211/util.c ++++ b/net/mac80211/util.c +@@ -3288,9 +3288,11 @@ void ieee80211_init_tx_queue(struct ieee + if (sta) { + txqi->txq.sta = &sta->sta; + sta->sta.txq[tid] = &txqi->txq; ++ txqi->txq.tid = tid; + txqi->txq.ac = ieee802_1d_to_ac[tid & 7]; + } else { + sdata->vif.txq = &txqi->txq; ++ txqi->txq.tid = 0; + txqi->txq.ac = IEEE80211_AC_BE; + } + } -- cgit v1.2.3