summaryrefslogtreecommitdiff
path: root/net/mac80211/led.h
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2015-07-08 15:41:47 +0300
committerJohannes Berg <johannes.berg@intel.com>2015-07-17 15:40:46 +0200
commitb0485e9f3defbed6effcde595df9b9fdbdb2524e (patch)
tree3c171cd36db7d7efca194599463bd91b059c6966 /net/mac80211/led.h
parent42d8d789615d539cb13733e516b94e874a34f775 (diff)
mac80211: clear local->suspended before calling drv_resume()
Currently, mac80211 calls drv_resume() on wowlan resume, but drops any incoming frame until local->suspended is cleared later on. This requires the low-level driver to support a new state, in which it is expected to fully work (as it was resumed) but not passing rx frames yet (as they will be dropped). iwlwifi (and probably other drivers as well) has issues supporting such mode. Since in the wowlan case we already short-circuit ieee80211_reconfig, there's nothing that prevents us from clearing local->suspend before calling drv_resume(), and letting the low-level driver work normally. Signed-off-by: Eliad Peller <eliadx.peller@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/led.h')
0 files changed, 0 insertions, 0 deletions