]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mac80211: fix fast-rx encryption check
authorFelix Fietkau <nbd@nbd.name>
Fri, 18 Dec 2020 18:47:17 +0000 (19:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2021 13:48:37 +0000 (14:48 +0100)
commitb70798906c4c85314511cf6d5cae98385861fc07
tree6f29c48692e84ea2adf6f09ae72f56124cf84b0d
parentd29232ebc8165f3489048230d29c382d69cab2a8
mac80211: fix fast-rx encryption check

[ Upstream commit 622d3b4e39381262da7b18ca1ed1311df227de86 ]

When using WEP, the default unicast key needs to be selected, instead of
the STA PTK.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20201218184718.93650-5-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/rx.c