iwlwifi: mvm: use dump worker during restart instead of sync dump
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Wed, 6 Feb 2019 12:51:20 +0000 (14:51 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 22 Mar 2019 10:59:41 +0000 (12:59 +0200)
commitfd1190b68a27b0ebd7c693f0ca99d7fd46f460a1
tree46ff8094d49c6a428a2c2fd423b02c725bf9ed42
parent8672aad310fcf8f1091f9f6e45299b84c51f3f56
iwlwifi: mvm: use dump worker during restart instead of sync dump

In restart flow, the driver requests HW restart from mac80211
and then mac80211 uses a worker to do the restart flow. In that flow a
sync dump is performed. Instead, schedule the dump worker before
requesting HW restart from mac80211. This approach simplifies the
restart flow.
Also, it is neeeded in order to differentiate between the handling of SW
and HW errors in a future commit.

Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/ops.c