summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2012-05-16 19:09:48 +0300
committerJohn W. Linville <linville@tuxdriver.com>2012-06-05 15:32:10 -0400
commit51ca9d8db280b960345e7306e6a036dd3880ecff (patch)
tree3fc742b198b2f1bade27d0d5e4b6c76e3b92bd2c /include/net
parentb90bd9d14f866318497acee571f79e621a735d69 (diff)
downloadop-kernel-dev-51ca9d8db280b960345e7306e6a036dd3880ecff.zip
op-kernel-dev-51ca9d8db280b960345e7306e6a036dd3880ecff.tar.gz
mac80211: remove ieee80211_get_operstate()
ieee80211_get_operstate() was used by drivers in order to know whether the sta link is up, but it's no longer needed (nor used) as mac80211 notifies the drivers about authorization changes (via the sta_state callback) Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/mac80211.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 98da61e..d2ed86d 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -3556,16 +3556,6 @@ void ieee80211_cqm_rssi_notify(struct ieee80211_vif *vif,
gfp_t gfp);
/**
- * ieee80211_get_operstate - get the operstate of the vif
- *
- * @vif: &struct ieee80211_vif pointer from the add_interface callback.
- *
- * The driver might need to know the operstate of the net_device
- * (specifically, whether the link is IF_OPER_UP after resume)
- */
-unsigned char ieee80211_get_operstate(struct ieee80211_vif *vif);
-
-/**
* ieee80211_chswitch_done - Complete channel switch process
* @vif: &struct ieee80211_vif pointer from the add_interface callback.
* @success: make the channel switch successful or not
OpenPOWER on IntegriCloud