Skip to content
Commit 3c706b97 authored by John Crispin's avatar John Crispin Committed by Johannes Berg
Browse files

mac80211: fix 11w when using encapsulation offloading



The 802.11 encapsulation returned early when setting up the keys in case
offloading was enabled. This causes ieee802.11w to not work anymore. Fix
this by moving the check for offloading into the switch/case construct and
allowing CCMP/GCMP keys. With this patch applied ieee80211w works again
when enabling offloading.

Fixes: 50ff477a ("mac80211: add 802.11 encapsulation offloading support")
Reported-by: default avatarMaharaja Kennadyrajan <mkenna@qti.qualcomm.com>
Signed-off-by: default avatarJohn Crispin <john@phrozen.org>
Link: https://lore.kernel.org/r/20200203122812.18993-1-john@phrozen.org


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 30b2f0be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment