aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-01-10 18:28:01 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-01-16 09:19:01 -0500
commit8f21b0adfe95907926da1bb0bcd3382b13d0143d (patch)
tree8eeedd57fd51a88baa61d38ef5602689eea3d675 /include/net/mac80211.h
parentd888130a024d1d1e8b2c3d0c9841a218fc0aed9e (diff)
mac80211: call restart complete at wowlan resume time
When the driver's resume function can't completely restore the configuration in the device, it returns 1 from the callback which will be treated like a HW restart request, but done directly. In this case, also call the driver's restart_complete() function so it can finish the reconfiguration there. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 79bc8709e83b..3037f49e51c8 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -2488,7 +2488,10 @@ enum ieee80211_rate_control_changed {
2488 * 2488 *
2489 * @restart_complete: Called after a call to ieee80211_restart_hw(), when the 2489 * @restart_complete: Called after a call to ieee80211_restart_hw(), when the
2490 * reconfiguration has completed. This can help the driver implement the 2490 * reconfiguration has completed. This can help the driver implement the
2491 * reconfiguration step. This callback may sleep. 2491 * reconfiguration step. Also called when reconfiguring because the
2492 * driver's resume function returned 1, as this is just like an "inline"
2493 * hardware restart. This callback may sleep.
2494 *
2492 */ 2495 */
2493struct ieee80211_ops { 2496struct ieee80211_ops {
2494 void (*tx)(struct ieee80211_hw *hw, 2497 void (*tx)(struct ieee80211_hw *hw,