diff options
author | Eliad Peller <eliad@wizery.com> | 2014-12-04 10:27:20 +0200 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-12-14 10:20:29 +0200 |
commit | 0a79a0c011cb291675e3b80760a452fcba5c59d9 (patch) | |
tree | 00c7e3946ccba6cdc186e86790fd8dd37f181a8c /drivers/platform/x86/intel-smartconnect.c | |
parent | 70e71ca0af244f48a5dcf56dc435243792e3a495 (diff) | |
download | blackbird-op-linux-0a79a0c011cb291675e3b80760a452fcba5c59d9.tar.gz blackbird-op-linux-0a79a0c011cb291675e3b80760a452fcba5c59d9.zip |
iwlwifi: mvm: clear IN_HW_RESTART flag on stop()
On stop(), we already cleared our internal state,
and the restart_complete() callback won't be
called, so simply clear the IN_HW_RESTART flag.
Keeping the flag might result in invalid state
on the next start(), preventing the driver starting
properly.
Additionally, don't take IWL_MVM_REF_UCODE_DOWN on stop()
if hw restart was requested, as the ref was already
taken in this case.
Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/platform/x86/intel-smartconnect.c')
0 files changed, 0 insertions, 0 deletions