diff options
author | Christian Lamparter <chunkeey@web.de> | 2008-12-09 10:28:06 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-12 14:01:42 -0500 |
commit | 89fad578a61810b7fdf8edd294890f3c0cde4390 (patch) | |
tree | 7f8c3f45f83e3c1934b447a54d9971fcb4364eaa /drivers/net/wireless/mac80211_hwsim.c | |
parent | dd397dc9dddfa2149a1bbc9e52ac7d5630737cec (diff) |
mac80211: integrate sta_notify_ps cmds into sta_notify
This patch replaces the newly introduced sta_notify_ps function,
which can be used to notify the driver about every power state
transition for all associated stations, by integrating its functionality
back into the original sta_notify callback.
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 530648b39935..fd5a537ac51d 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -522,6 +522,10 @@ static void mac80211_hwsim_sta_notify(struct ieee80211_hw *hw, | |||
522 | case STA_NOTIFY_REMOVE: | 522 | case STA_NOTIFY_REMOVE: |
523 | hwsim_clear_sta_magic(sta); | 523 | hwsim_clear_sta_magic(sta); |
524 | break; | 524 | break; |
525 | case STA_NOTIFY_SLEEP: | ||
526 | case STA_NOTIFY_AWAKE: | ||
527 | /* TODO: make good use of these flags */ | ||
528 | break; | ||
525 | } | 529 | } |
526 | } | 530 | } |
527 | 531 | ||