diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index 8f0852d058e..52c7eae08d4 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -2389,6 +2389,7 @@ static int iwl4965_set_decrypted_flag(struct iwl_priv *priv, | |||
2389 | RX_RES_STATUS_BAD_KEY_TTAK) | 2389 | RX_RES_STATUS_BAD_KEY_TTAK) |
2390 | break; | 2390 | break; |
2391 | 2391 | ||
2392 | case RX_RES_STATUS_SEC_TYPE_WEP: | ||
2392 | if ((decrypt_res & RX_RES_STATUS_DECRYPT_TYPE_MSK) == | 2393 | if ((decrypt_res & RX_RES_STATUS_DECRYPT_TYPE_MSK) == |
2393 | RX_RES_STATUS_BAD_ICV_MIC) { | 2394 | RX_RES_STATUS_BAD_ICV_MIC) { |
2394 | /* bad ICV, the packet is destroyed since the | 2395 | /* bad ICV, the packet is destroyed since the |
@@ -2396,7 +2397,6 @@ static int iwl4965_set_decrypted_flag(struct iwl_priv *priv, | |||
2396 | IWL_DEBUG_RX("Packet destroyed\n"); | 2397 | IWL_DEBUG_RX("Packet destroyed\n"); |
2397 | return -1; | 2398 | return -1; |
2398 | } | 2399 | } |
2399 | case RX_RES_STATUS_SEC_TYPE_WEP: | ||
2400 | case RX_RES_STATUS_SEC_TYPE_CCMP: | 2400 | case RX_RES_STATUS_SEC_TYPE_CCMP: |
2401 | if ((decrypt_res & RX_RES_STATUS_DECRYPT_TYPE_MSK) == | 2401 | if ((decrypt_res & RX_RES_STATUS_DECRYPT_TYPE_MSK) == |
2402 | RX_RES_STATUS_DECRYPT_OK) { | 2402 | RX_RES_STATUS_DECRYPT_OK) { |