diff options
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index ad2427021b26..4fdbed58ca2f 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -899,6 +899,9 @@ ieee80211_rx_h_decrypt(struct ieee80211_rx_data *rx) | |||
899 | 899 | ||
900 | if (!is_multicast_ether_addr(hdr->addr1) && stakey) { | 900 | if (!is_multicast_ether_addr(hdr->addr1) && stakey) { |
901 | rx->key = stakey; | 901 | rx->key = stakey; |
902 | if ((status->flag & RX_FLAG_DECRYPTED) && | ||
903 | (status->flag & RX_FLAG_IV_STRIPPED)) | ||
904 | return RX_CONTINUE; | ||
902 | /* Skip decryption if the frame is not protected. */ | 905 | /* Skip decryption if the frame is not protected. */ |
903 | if (!ieee80211_has_protected(fc)) | 906 | if (!ieee80211_has_protected(fc)) |
904 | return RX_CONTINUE; | 907 | return RX_CONTINUE; |