Author: nbd
Date: 2015-10-06 00:38:32 +0200 (Tue, 06 Oct 2015)
New Revision: 47144

Added:
   
branches/chaos_calmer/package/kernel/mac80211/patches/398-mac80211-initialize-tid-field-in-struct-ieee80211_tx.patch
Log:
mac80211: add a fix to initialize the tid field in the tx queue struct

Signed-off-by: Felix Fietkau <[email protected]>

Backport of r47142

Added: 
branches/chaos_calmer/package/kernel/mac80211/patches/398-mac80211-initialize-tid-field-in-struct-ieee80211_tx.patch
===================================================================
--- 
branches/chaos_calmer/package/kernel/mac80211/patches/398-mac80211-initialize-tid-field-in-struct-ieee80211_tx.patch
                                (rev 0)
+++ 
branches/chaos_calmer/package/kernel/mac80211/patches/398-mac80211-initialize-tid-field-in-struct-ieee80211_tx.patch
        2015-10-05 22:38:32 UTC (rev 47144)
@@ -0,0 +1,21 @@
+From: Felix Fietkau <[email protected]>
+Date: Mon, 5 Oct 2015 17:41:25 +0200
+Subject: [PATCH] mac80211: initialize tid field in struct ieee80211_txq
+
+Signed-off-by: Felix Fietkau <[email protected]>
+---
+
+--- a/net/mac80211/util.c
++++ b/net/mac80211/util.c
+@@ -3323,9 +3323,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;
+       }
+ }
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to