diff options
author | John Crispin <john@phrozen.org> | 2020-02-03 13:28:12 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-02-07 11:31:36 +0100 |
commit | 3c706b973b51ed45e4c0f40642cfb650dfc804d7 (patch) | |
tree | eefc56b8fc1a9ad42af02113f3e2aa80424b93d6 /net/wireless | |
parent | 30b2f0be23fb40e58d0ad2caf8702c2a44cda2e1 (diff) |
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: 50ff477a8639 ("mac80211: add 802.11 encapsulation offloading support")
Reported-by: Maharaja Kennadyrajan <mkenna@qti.qualcomm.com>
Signed-off-by: John Crispin <john@phrozen.org>
Link: https://lore.kernel.org/r/20200203122812.18993-1-john@phrozen.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions