iwlwifi: move firmware restart debugfs hook to op_mode
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 4 Mar 2013 06:53:07 +0000 (08:53 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Mar 2013 15:48:01 +0000 (16:48 +0100)
commit490953ac344725f56746d16ef8480842f4087fc4
tree0ca250aa7a92f199a84957dccfbf9f06feeaab84
parent6bfcb7e88cbb45782664caeb9bfe1a1c1b83a10e
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>
drivers/net/wireless/iwlwifi/dvm/debugfs.c
drivers/net/wireless/iwlwifi/iwl-drv.c
drivers/net/wireless/iwlwifi/iwl-modparams.h
drivers/net/wireless/iwlwifi/mvm/debugfs.c
drivers/net/wireless/iwlwifi/pcie/trans.c