projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5edfcee
)
mac80211: add missing struct ieee80211_txq tid field initialization
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 5 Oct 2015 22:16:53 +0000
(
00:16
+0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Thu, 8 Oct 2015 09:10:50 +0000
(11:10 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/util.c
b/net/mac80211/util.c
index 60c4dbf9262511653c86467bf6a9551682954c38..fb6e511ee0be0a21bce4035b62237cb42092342b 100644
(file)
--- 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,
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;
}
}