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)
commit69e046423ad71de625ac1b0f0f390d3b9727b8c9
tree44d0dca7de152334772d447dd040710f68e597ad
parentf43495fd5e37b2ef4a187974011ff439e6354053
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