iwlwifi: mvm: allow to collect debug data from non-sleepable context
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 29 Dec 2014 07:42:37 +0000 (09:42 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 22 Jan 2015 15:53:57 +0000 (17:53 +0200)
commite66e0b707630232b2683eacaa9f5803e008b52b3
tree77bb05fbd76f577bab37fa7edc317dd7ee4d282d
parente93475a0ff492000bfd911f44626a3d1d44025b5
iwlwifi: mvm: allow to collect debug data from non-sleepable context

iwl_mvm_fw_dbg_collect allows to collect debug data from
the firmware. Most of the firmware interaction is done in
non-sleepable context. It makes little sense to force the
caller of iwl_mvm_fw_dbg_collect to sleep.
Defer the actual collection to a worker so that this
function will be able to be called from any context.

Reviewed-by: Eran Harary <eran.harary@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/fw.c
drivers/net/wireless/iwlwifi/mvm/ops.c