summaryrefslogtreecommitdiffstats
path: root/net/wireless/lib80211_crypt_ccmp.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-09-29 16:01:58 +0200
committerJohannes Berg <johannes.berg@intel.com>2018-10-01 09:13:48 +0200
commit211710ca74adf790b46ab3867fcce8047b573cd1 (patch)
treef8dd4f823f1511fb031490894eac5f37dd90937e /net/wireless/lib80211_crypt_ccmp.c
parent848e616e66d4592fe9afc40743d3504deb7632b4 (diff)
downloadlinux-211710ca74adf790b46ab3867fcce8047b573cd1.tar.gz
linux-211710ca74adf790b46ab3867fcce8047b573cd1.tar.bz2
linux-211710ca74adf790b46ab3867fcce8047b573cd1.zip
mac80211: fix setting IEEE80211_KEY_FLAG_RX_MGMT for AP mode keys
key->sta is only valid after ieee80211_key_link, which is called later in this function. Because of that, the IEEE80211_KEY_FLAG_RX_MGMT is never set when management frame protection is enabled. Fixes: e548c49e6dc6b ("mac80211: add key flag for management keys") Cc: stable@vger.kernel.org Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/lib80211_crypt_ccmp.c')
0 files changed, 0 insertions, 0 deletions