summaryrefslogtreecommitdiffstats
path: root/net/mac80211/wpa.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-01-12 12:10:00 -0800
committerDavid S. Miller <davem@davemloft.net>2012-01-12 12:10:00 -0800
commit9ee6045f09a7875ebe55b9942b232a19076b157b (patch)
tree4c3924d35d99d413a95205ac21da8d369063234b /net/mac80211/wpa.c
parent3b09c84cb622ffbcdb5d541986b1eaf7d5812602 (diff)
parent1140afa862842ac3e56678693050760edc4ecde9 (diff)
downloadop-kernel-dev-9ee6045f09a7875ebe55b9942b232a19076b157b.zip
op-kernel-dev-9ee6045f09a7875ebe55b9942b232a19076b157b.tar.gz
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
Diffstat (limited to 'net/mac80211/wpa.c')
-rw-r--r--net/mac80211/wpa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/wpa.c b/net/mac80211/wpa.c
index 93aab07..422b798 100644
--- a/net/mac80211/wpa.c
+++ b/net/mac80211/wpa.c
@@ -106,7 +106,7 @@ ieee80211_rx_h_michael_mic_verify(struct ieee80211_rx_data *rx)
if (status->flag & RX_FLAG_MMIC_ERROR)
goto mic_fail;
- if (!(status->flag & RX_FLAG_IV_STRIPPED))
+ if (!(status->flag & RX_FLAG_IV_STRIPPED) && rx->key)
goto update_iv;
return RX_CONTINUE;
OpenPOWER on IntegriCloud