|
@@ -1421,8 +1421,7 @@ ieee80211_drop_unencrypted_mgmt(struct ieee80211_rx_data *rx)
|
|
return -EACCES;
|
|
return -EACCES;
|
|
/* BIP does not use Protected field, so need to check MMIE */
|
|
/* BIP does not use Protected field, so need to check MMIE */
|
|
if (unlikely(ieee80211_is_multicast_robust_mgmt_frame(rx->skb) &&
|
|
if (unlikely(ieee80211_is_multicast_robust_mgmt_frame(rx->skb) &&
|
|
- ieee80211_get_mmie_keyidx(rx->skb) < 0 &&
|
|
|
|
- rx->key))
|
|
|
|
|
|
+ ieee80211_get_mmie_keyidx(rx->skb) < 0))
|
|
return -EACCES;
|
|
return -EACCES;
|
|
/*
|
|
/*
|
|
* When using MFP, Action frames are not allowed prior to
|
|
* When using MFP, Action frames are not allowed prior to
|