aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2011-05-03 04:53:07 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-05-05 14:59:06 -0400
commit4c468fe559f7910b1c6b10d3d223943fdd1b653c (patch)
treefb7293c13da3fa79d2472aa2adff8c4341a6e6e3 /net/mac80211/tx.c
parentcbe8c735f1af88037c3dab570f816e3a77896cc7 (diff)
mac80211: set TID of internal mgmt packets to 7
The queue mapping of internal mgmt packets is set to VO. Set the TID value to match the queue mapping. Otherwise drivers that only look at the TID might get confused. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r--net/mac80211/tx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index e3e3aa173af0..e1a39ed1ef5e 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -2534,8 +2534,9 @@ void ieee80211_tx_skb(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb)
2534 skb_set_network_header(skb, 0); 2534 skb_set_network_header(skb, 0);
2535 skb_set_transport_header(skb, 0); 2535 skb_set_transport_header(skb, 0);
2536 2536
2537 /* send all internal mgmt frames on VO */ 2537 /* Send all internal mgmt frames on VO. Accordingly set TID to 7. */
2538 skb_set_queue_mapping(skb, 0); 2538 skb_set_queue_mapping(skb, IEEE80211_AC_VO);
2539 skb->priority = 7;
2539 2540
2540 /* 2541 /*
2541 * The other path calling ieee80211_xmit is from the tasklet, 2542 * The other path calling ieee80211_xmit is from the tasklet,