aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-5000.c
diff options
context:
space:
mode:
authorEster Kummer <ester.kummer@intel.com>2008-05-05 23:05:14 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-05-14 16:29:48 -0400
commit3a1081e84b0008de8171a95f2c0fff8489af4300 (patch)
treebc19821cb8912d619c4c13815816bee93327a471 /drivers/net/wireless/iwlwifi/iwl-5000.c
parentbc6f59bc9b2f494ca1b018622f1fbd25933bc920 (diff)
iwlwifi: adding parameter of fw_restart
This patch adds a module parameter of fw_restart which determine if the uCode will be restarted or not in case of error. Signed-off-by: Ester Kummer <ester.kummer@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-5000.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-5000.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c
index 43b4d20467de..b5e28b811796 100644
--- a/drivers/net/wireless/iwlwifi/iwl-5000.c
+++ b/drivers/net/wireless/iwlwifi/iwl-5000.c
@@ -510,6 +510,7 @@ static struct iwl_mod_params iwl50_mod_params = {
510 .num_of_queues = IWL50_NUM_QUEUES, 510 .num_of_queues = IWL50_NUM_QUEUES,
511 .enable_qos = 1, 511 .enable_qos = 1,
512 .amsdu_size_8K = 1, 512 .amsdu_size_8K = 1,
513 .restart_fw = 1,
513 /* the rest are 0 by default */ 514 /* the rest are 0 by default */
514}; 515};
515 516
@@ -555,5 +556,5 @@ module_param_named(qos_enable50, iwl50_mod_params.enable_qos, int, 0444);
555MODULE_PARM_DESC(qos_enable50, "enable all 50XX QoS functionality"); 556MODULE_PARM_DESC(qos_enable50, "enable all 50XX QoS functionality");
556module_param_named(amsdu_size_8K50, iwl50_mod_params.amsdu_size_8K, int, 0444); 557module_param_named(amsdu_size_8K50, iwl50_mod_params.amsdu_size_8K, int, 0444);
557MODULE_PARM_DESC(amsdu_size_8K50, "enable 8K amsdu size in 50XX series"); 558MODULE_PARM_DESC(amsdu_size_8K50, "enable 8K amsdu size in 50XX series");
558 559module_param_named(fw_restart50, iwl50_mod_params.restart_fw, int, 0444);
559 560MODULE_PARM_DESC(fw_restart50, "restart firmware in case of error");