]> Git Repo - linux.git/commit
mac80211: fix setting IEEE80211_KEY_FLAG_RX_MGMT for AP mode keys
authorFelix Fietkau <[email protected]>
Sat, 29 Sep 2018 14:01:58 +0000 (16:01 +0200)
committerJohannes Berg <[email protected]>
Mon, 1 Oct 2018 07:13:48 +0000 (09:13 +0200)
commit211710ca74adf790b46ab3867fcce8047b573cd1
treef8dd4f823f1511fb031490894eac5f37dd90937e
parent848e616e66d4592fe9afc40743d3504deb7632b4
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: [email protected]
Signed-off-by: Felix Fietkau <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
net/mac80211/cfg.c
This page took 0.050621 seconds and 4 git commands to generate.