diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2010-05-19 02:02:30 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-04 15:32:25 -0400 |
commit | 38a6cc7538d3c44b76f9dcea607a171adcc0208e (patch) | |
tree | 6e32157add4ba09c4a35c5ec6a2f4b3bce765268 /include/net | |
parent | abd984e6117e72e17073fd0a81a477e43b4580f5 (diff) |
mac80211: Remove deprecated sta_notify commands
STA_NOTIFY_ADD and STA_NOTIFY_REMOVE have no users anymore,
and station addition/removal are indicated to drivers
using sta_add() and sta_remove(), which can sleep.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/mac80211.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 2e728611c572..e3c1d4794003 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -879,16 +879,12 @@ struct ieee80211_sta { | |||
879 | * enum sta_notify_cmd - sta notify command | 879 | * enum sta_notify_cmd - sta notify command |
880 | * | 880 | * |
881 | * Used with the sta_notify() callback in &struct ieee80211_ops, this | 881 | * Used with the sta_notify() callback in &struct ieee80211_ops, this |
882 | * indicates addition and removal of a station to station table, | 882 | * indicates if an associated station made a power state transition. |
883 | * or if a associated station made a power state transition. | ||
884 | * | 883 | * |
885 | * @STA_NOTIFY_ADD: (DEPRECATED) a station was added to the station table | ||
886 | * @STA_NOTIFY_REMOVE: (DEPRECATED) a station being removed from the station table | ||
887 | * @STA_NOTIFY_SLEEP: a station is now sleeping | 884 | * @STA_NOTIFY_SLEEP: a station is now sleeping |
888 | * @STA_NOTIFY_AWAKE: a sleeping station woke up | 885 | * @STA_NOTIFY_AWAKE: a sleeping station woke up |
889 | */ | 886 | */ |
890 | enum sta_notify_cmd { | 887 | enum sta_notify_cmd { |
891 | STA_NOTIFY_ADD, STA_NOTIFY_REMOVE, | ||
892 | STA_NOTIFY_SLEEP, STA_NOTIFY_AWAKE, | 888 | STA_NOTIFY_SLEEP, STA_NOTIFY_AWAKE, |
893 | }; | 889 | }; |
894 | 890 | ||