diff options
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/rx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 11ed5aa90f83..ea71e1abc4c8 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -1421,8 +1421,7 @@ ieee80211_drop_unencrypted_mgmt(struct ieee80211_rx_data *rx) | |||
1421 | return -EACCES; | 1421 | return -EACCES; |
1422 | /* BIP does not use Protected field, so need to check MMIE */ | 1422 | /* BIP does not use Protected field, so need to check MMIE */ |
1423 | if (unlikely(ieee80211_is_multicast_robust_mgmt_frame(rx->skb) && | 1423 | if (unlikely(ieee80211_is_multicast_robust_mgmt_frame(rx->skb) && |
1424 | ieee80211_get_mmie_keyidx(rx->skb) < 0 && | 1424 | ieee80211_get_mmie_keyidx(rx->skb) < 0)) |
1425 | rx->key)) | ||
1426 | return -EACCES; | 1425 | return -EACCES; |
1427 | /* | 1426 | /* |
1428 | * When using MFP, Action frames are not allowed prior to | 1427 | * When using MFP, Action frames are not allowed prior to |