]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe39480f3643eb4de64a8ca31c03a5e09833f39c
tree8a2640f332b6491156c3ce6466988fe02dc4166f
parentbaac014e657aee0552f3533ad43ba4db971f3d31
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