]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9cf0ec47b77f784e72f1091298d8d3f13a98c01e
tree0ca250aa7a92f199a84957dccfbf9f06feeaab84
parentd8188e25d79ad041971210c3356f2121698aed07
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