aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-modparams.h
diff options
context:
space:
mode:
authorEmmanuel Grumbach2013-03-04 08:53:07 +0200
committerJohannes Berg2013-03-06 16:48:01 +0100
commit490953ac344725f56746d16ef8480842f4087fc4 (patch)
tree0ca250aa7a92f199a84957dccfbf9f06feeaab84 /drivers/net/wireless/iwlwifi/iwl-modparams.h
parent6bfcb7e88cbb45782664caeb9bfe1a1c1b83a10e (diff)
iwlwifi: move firmware restart debugfs hook to op_mode
This allows to test fw restart flow. The hook in transport layer doesn't really make the fw assert. Moving this hook to the op_mode allows to use the fw API to actually send a host command that will make the fw assert. Change the restart_fw module parameter to be a boolean on the way. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-modparams.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-modparams.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-modparams.h b/drivers/net/wireless/iwlwifi/iwl-modparams.h
index a2cefe2c3e1d..3cc39ffe8ba5 100644
--- a/drivers/net/wireless/iwlwifi/iwl-modparams.h
+++ b/drivers/net/wireless/iwlwifi/iwl-modparams.h
@@ -109,7 +109,7 @@ struct iwl_mod_params {
int sw_crypto;
unsigned int disable_11n;
int amsdu_size_8K;
- int restart_fw;
+ bool restart_fw;
bool plcp_check;
int wd_disable;
bool bt_coex_active;