]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: change scan timeout to a delayed work
authorLuca Coelho <luciano.coelho@intel.com>
Tue, 3 May 2016 09:18:33 +0000 (12:18 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 5 Jul 2016 21:33:07 +0000 (00:33 +0300)
commit76730dfe46a40411a4edd4c5e7d2e95200f1dd38
tree44d0dca7de152334772d447dd040710f68e597ad
parent24de13543362600d5eb1f51a8bbf33962c0c082e
iwlwifi: mvm: change scan timeout to a delayed work

Some transports may sleep when writing to registers, which is done
when calling iwl_force_nmi().  So we can't call iwl_force_nmi() in a
timer context.  To solve that, convert the scan timeout timer to a
delayed work.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
drivers/net/wireless/intel/iwlwifi/mvm/scan.c