]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mac80211: fix lookup when adding AddBA extension element
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Nov 2021 13:32:46 +0000 (15:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Dec 2021 08:29:37 +0000 (09:29 +0100)
commite7660f9535ade84ea57aed1c55d102bfb23dd2ff
tree11e96f67349a4a05c3ce0b3928f94737d5448fae
parentf363af7c7045f68c2025d46879d0e01facbe24c9
mac80211: fix lookup when adding AddBA extension element

[ Upstream commit 511ab0c1dfb260a6b17b8771109e8d63474473a7 ]

We should be doing the HE capabilities lookup based on the full
interface type so if P2P doesn't have HE but client has it doesn't
get confused. Fix that.

Fixes: 2ab45876756f ("mac80211: add support for the ADDBA extension element")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211129152938.010fc1d61137.If3a468145f29d670cb00a693bed559d8290ba693@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/agg-rx.c