diff options
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 96f13ad05d3c..beecf50fbd10 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -1168,8 +1168,8 @@ ieee80211_drop_unencrypted(struct ieee80211_rx_data *rx, __le16 fc) | |||
1168 | rx->key)) | 1168 | rx->key)) |
1169 | return -EACCES; | 1169 | return -EACCES; |
1170 | /* BIP does not use Protected field, so need to check MMIE */ | 1170 | /* BIP does not use Protected field, so need to check MMIE */ |
1171 | if (unlikely(ieee80211_is_multicast_robust_mgmt_frame(rx->skb) | 1171 | if (unlikely(ieee80211_is_multicast_robust_mgmt_frame(rx->skb) && |
1172 | && ieee80211_get_mmie_keyidx(rx->skb) < 0 && | 1172 | ieee80211_get_mmie_keyidx(rx->skb) < 0 && |
1173 | rx->key)) | 1173 | rx->key)) |
1174 | return -EACCES; | 1174 | return -EACCES; |
1175 | /* | 1175 | /* |