diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index 8a378bd1a7ab..e7d166d2255c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c | |||
@@ -600,7 +600,7 @@ static void iwl3945_pass_packet_to_mac80211(struct iwl_priv *priv, | |||
600 | /* Set the size of the skb to the size of the frame */ | 600 | /* Set the size of the skb to the size of the frame */ |
601 | skb_put(rxb->skb, le16_to_cpu(rx_hdr->len)); | 601 | skb_put(rxb->skb, le16_to_cpu(rx_hdr->len)); |
602 | 602 | ||
603 | if (iwl3945_mod_params.sw_crypto) | 603 | if (!iwl3945_mod_params.sw_crypto) |
604 | iwl3945_set_decrypted_flag(priv, rxb->skb, | 604 | iwl3945_set_decrypted_flag(priv, rxb->skb, |
605 | le32_to_cpu(rx_end->status), stats); | 605 | le32_to_cpu(rx_end->status), stats); |
606 | 606 | ||