aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-10-13 07:19:19 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-10-14 14:48:23 -0400
commit59b66255bc7804970098533ce7c9bf6967f35f62 (patch)
treec52bb7ed41e1bb171939422247a5e7fb7b51eafd /net
parent423e38e8079f8f4fe0bf66d4f9a7d61beb232aca (diff)
mac80211: fix TID for null poll response
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> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r--net/mac80211/sta_info.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c
index 076593bffbcf..2e2c71194c80 100644
--- a/net/mac80211/sta_info.c
+++ b/net/mac80211/sta_info.c
@@ -1203,11 +1203,9 @@ static void ieee80211_send_null_response(struct ieee80211_sub_if_data *sdata,
1203 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); 1203 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN);
1204 memcpy(nullfunc->addr3, sdata->vif.addr, ETH_ALEN); 1204 memcpy(nullfunc->addr3, sdata->vif.addr, ETH_ALEN);
1205 1205
1206 skb->priority = tid;
1207 skb_set_queue_mapping(skb, ieee802_1d_to_ac[tid]);
1206 if (qos) { 1208 if (qos) {
1207 skb->priority = tid;
1208
1209 skb_set_queue_mapping(skb, ieee802_1d_to_ac[tid]);
1210
1211 nullfunc->qos_ctrl = cpu_to_le16(tid); 1209 nullfunc->qos_ctrl = cpu_to_le16(tid);
1212 1210
1213 if (reason == IEEE80211_FRAME_RELEASE_UAPSD) 1211 if (reason == IEEE80211_FRAME_RELEASE_UAPSD)