* [PATCH] mac80211: fix TID for null poll response
@ 2011-10-13 11:19 Johannes Berg
0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2011-10-13 11:19 UTC (permalink / raw)
To: John Linville; +Cc: linux-wireless
From: Johannes Berg <johannes.berg@intel.com>
The queue mapping/TID for non-QoS null data
responses to is never set, making it default
to BK. Fix that.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
net/mac80211/sta_info.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
--- a/net/mac80211/sta_info.c 2011-10-07 10:43:31.000000000 +0200
+++ b/net/mac80211/sta_info.c 2011-10-13 13:16:57.000000000 +0200
@@ -1203,11 +1203,9 @@ static void ieee80211_send_null_response
memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN);
memcpy(nullfunc->addr3, sdata->vif.addr, ETH_ALEN);
+ skb->priority = tid;
+ skb_set_queue_mapping(skb, ieee802_1d_to_ac[tid]);
if (qos) {
- skb->priority = tid;
-
- skb_set_queue_mapping(skb, ieee802_1d_to_ac[tid]);
-
nullfunc->qos_ctrl = cpu_to_le16(tid);
if (reason == IEEE80211_FRAME_RELEASE_UAPSD)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-10-13 11:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-13 11:19 [PATCH] mac80211: fix TID for null poll response Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox