commit | 211710ca74adf790b46ab3867fcce8047b573cd1 | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@nbd.name> | Sat Sep 29 16:01:58 2018 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Mon Oct 01 09:13:48 2018 +0200 |
tree | f8dd4f823f1511fb031490894eac5f37dd90937e | |
parent | 848e616e66d4592fe9afc40743d3504deb7632b4 [diff] |
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>