mac80211: TDLS: fix skb queue/priority assignment
authorJohannes Berg <johannes.berg@intel.com>
Wed, 5 Sep 2018 11:34:02 +0000 (13:34 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 10 Sep 2018 07:13:32 +0000 (09:13 +0200)
commitcb59bc14e830028d2244861216df038165d7625d
tree8a2640f332b6491156c3ce6466988fe02dc4166f
parent119f94a6fefcc76d47075b83d2b73d04c895df78
mac80211: TDLS: fix skb queue/priority assignment

If the TDLS setup happens over a connection to an AP that
doesn't have QoS, we nevertheless assign a non-zero TID
(skb->priority) and queue mapping, which may confuse us or
drivers later.

Fix it by just assigning the special skb->priority and then
using ieee80211_select_queue() just like other data frames
would go through.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tdls.c