iwl3945: Change crypto parameter name
authorSamuel Ortiz <sameo@linux.intel.com>
Thu, 8 Jan 2009 18:19:59 +0000 (10:19 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:00:14 +0000 (16:00 -0500)
commit9c74d9fbd59f3a69cbe08a6bd66479c190effe5f
tree714101f2ab10edfb78805b99c2f7508ea474642f
parent1e33dc64475790c10a7cda3ca23d2eb678760d85
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>
drivers/net/wireless/iwlwifi/iwl-3945.c
drivers/net/wireless/iwlwifi/iwl3945-base.c