]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9ae92a12db1cef3f0b5a0cf85eb5f595edc00e5d
tree77bb05fbd76f577bab37fa7edc317dd7ee4d282d
parent38cf0e8c106c782191b3704cfabd5499b2c2cee9
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