aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-3945.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2009-01-08 13:19:59 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 16:00:14 -0500
commit9c74d9fbd59f3a69cbe08a6bd66479c190effe5f (patch)
tree714101f2ab10edfb78805b99c2f7508ea474642f /drivers/net/wireless/iwlwifi/iwl-3945.c
parent1e33dc64475790c10a7cda3ca23d2eb678760d85 (diff)
iwl3945: Change crypto parameter name
Now that we're using iwl_mod_params, we want our module parameters names to be in sync with the structure. So, to set iwl_mod_params.sw_crypto, we'd better use a "swcrypto" parameter name instead of the "hwcrypto" current one. Moreover, by setting the decrypted flag properly, this patch also fixes the HW crypto path for 3945 (the current code is not setting it when running HW crypto). This is a bug fix for bug #1872 ( http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1872 ) Signed-off-by: Samuel Ortiz <samuel.ortiz@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-3945.c2
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