OSDN Git Service

iwlwifi: mvm: move deferred d0i3 exit to resume_complete op
authorEliad Peller <eliad@wizery.com>
Mon, 20 Oct 2014 15:42:58 +0000 (18:42 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 23 Nov 2014 17:57:30 +0000 (19:57 +0200)
commit088070a2f6575402d3dd82e1c5a4a8e1941805f6
treefc9f34ee80e0840fbb32b6125b6783bb073498ef
parent9b5452fd77c337391e090b1bf2f7036a0b89fd39
iwlwifi: mvm: move deferred d0i3 exit to resume_complete op

The deferred d0i3 exit is currently implemented in the
resume op, which is called when mac80211 starts its
resume process.

However, mac80211 still doesn't handle frames at this stage,
which results in frames being dropped.

Move the deferred d0i3 handling to the reconfig_complete
callback, in order to make sure mac80211 is fully available
at this point.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@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