Revert "iwlwifi: mvm: move deferred d0i3 exit to resume_complete op"
authorEliad Peller <eliad@wizery.com>
Wed, 17 Jun 2015 12:32:37 +0000 (15:32 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 4 Aug 2015 07:11:47 +0000 (10:11 +0300)
commit2d42801bd62eb2018da914272fd505a6d32004a8
treeceeccceec1951f283caf9309c904ff80104d65a3
parent88742c9e84f73eeea4abe967d751b0e6318c2c2e
Revert "iwlwifi: mvm: move deferred d0i3 exit to resume_complete op"

This reverts commit 088070a2f6575402d3dd82e1c5a4a8e1941805f6.

When working in d0i3_on_idle mode, we explicitly go out
of d0i3 on resume (so other potential commands could
be sent).

However, D0I3_DEFER_WAKEUP is currently cleared on
resume complete (which happens only later on), causing
d0i3 exit to timeout.

Since mac80211 was modified to accept incoming frames
once drv_resume was called, we can safely revert this
patch, and handle the pending work on iwl_mvm_resume().

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