summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2010-05-19 11:32:30 +0530
committerJohn W. Linville <linville@tuxdriver.com>2010-06-04 15:32:25 -0400
commit38a6cc7538d3c44b76f9dcea607a171adcc0208e (patch)
tree6e32157add4ba09c4a35c5ec6a2f4b3bce765268 /include
parentabd984e6117e72e17073fd0a81a477e43b4580f5 (diff)
downloadop-kernel-dev-38a6cc7538d3c44b76f9dcea607a171adcc0208e.zip
op-kernel-dev-38a6cc7538d3c44b76f9dcea607a171adcc0208e.tar.gz
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')
-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 2e72861..e3c1d47 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,
};
OpenPOWER on IntegriCloud