iwlwifi: mvm: wait for d0i3 exit on hw restart
authorEliad Peller <eliad@wizery.com>
Thu, 11 Dec 2014 08:48:18 +0000 (10:48 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 28 Dec 2014 18:00:21 +0000 (20:00 +0200)
commit37948fcfd0bef2344df4245f231947cbadb6341a
tree8a42069644d6e0d2aba321445974417a84dd70c0
parentb0677f71333032c384641b874c26b8871431a009
iwlwifi: mvm: wait for d0i3 exit on hw restart

On hw restart, make sure to wait for d0i3 exit
(by checking the IN_D0I3 status bit).

This is needed in order to avoid the stale
d0i3_exit_work from doing harm (e.g. unref
cleared reference).

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