diff options
author | Eliad Peller <eliad@wizery.com> | 2012-05-16 16:09:48 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-05 19:32:10 (GMT) |
commit | 51ca9d8db280b960345e7306e6a036dd3880ecff (patch) | |
tree | 3fc742b198b2f1bade27d0d5e4b6c76e3b92bd2c /net | |
parent | b90bd9d14f866318497acee571f79e621a735d69 (diff) | |
download | linux-fsl-qoriq-51ca9d8db280b960345e7306e6a036dd3880ecff.tar.xz |
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 'net')
-rw-r--r-- | net/mac80211/mlme.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 419301c..0c4e26f 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -3530,10 +3530,3 @@ void ieee80211_cqm_rssi_notify(struct ieee80211_vif *vif, cfg80211_cqm_rssi_notify(sdata->dev, rssi_event, gfp); } EXPORT_SYMBOL(ieee80211_cqm_rssi_notify); - -unsigned char ieee80211_get_operstate(struct ieee80211_vif *vif) -{ - struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); - return sdata->dev->operstate; -} -EXPORT_SYMBOL(ieee80211_get_operstate); |