summaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2010-05-19 08:02:30 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-06-04 21:32:25 +0200
commit38a6cc7538d3c44b76f9dcea607a171adcc0208e (patch)
tree6e32157add4ba09c4a35c5ec6a2f4b3bce765268 /include/net/mac80211.h
parentath9k_htc: Use proper station add/remove callbacks (diff)
downloadlinux-38a6cc7538d3c44b76f9dcea607a171adcc0208e.tar.xz
linux-38a6cc7538d3c44b76f9dcea607a171adcc0208e.zip
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/mac80211.h')
-rw-r--r--include/net/mac80211.h6
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 {
* enum sta_notify_cmd - sta notify command
*
* Used with the sta_notify() callback in &struct ieee80211_ops, this
- * indicates addition and removal of a station to station table,
- * or if a associated station made a power state transition.
+ * indicates if an associated station made a power state transition.
*
- * @STA_NOTIFY_ADD: (DEPRECATED) a station was added to the station table
- * @STA_NOTIFY_REMOVE: (DEPRECATED) a station being removed from the station table
* @STA_NOTIFY_SLEEP: a station is now sleeping
* @STA_NOTIFY_AWAKE: a sleeping station woke up
*/
enum sta_notify_cmd {
- STA_NOTIFY_ADD, STA_NOTIFY_REMOVE,
STA_NOTIFY_SLEEP, STA_NOTIFY_AWAKE,
};