]> git.ipfire.org Git - people/arne_f/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Nov 2018 13:52:37 +0000 (14:52 +0100)
commitebec37ed21a220b824f9ac8f467c81d0955b01ce
treea169037a8db0dff692319920a3b62da737fb2f0d
parent9da59d2e283d424cd9c947b849fc819536bd0882
mac80211: TDLS: fix skb queue/priority assignment

[ Upstream commit cb59bc14e830028d2244861216df038165d7625d ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/tdls.c