iwlwifi: mvm: clear d0i3 state on recovery
authorEliad Peller <eliad@wizery.com>
Sun, 10 Aug 2014 14:00:15 +0000 (17:00 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 3 Sep 2014 19:48:49 +0000 (22:48 +0300)
commit228670b2e6f8d32f11d27c5165fb42a2c77f062c
tree0f9865dcf38566288d198ccc6e18124b5e386ce5
parent9ecd051ecd87d0a361c85064e57b27dc825d012e
iwlwifi: mvm: clear d0i3 state on recovery

If recovery happened after mvm entered d0i3 (e.g.
due to sysassert when releasing the bus), the
mvm->state wasn't cleared properly, causing the
ongoing recovery to fail (due to iwl_mvm_ref_sync
failure).

This in turn fails the ongoing recovery, and triggers
a reprobe, which terminates any ongoing wifi activity.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c