diff options
author | Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> | 2012-04-11 11:46:12 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-13 20:32:51 +0200 |
commit | 0446b49c3350ad1fdbc5a3f8f8223fc8af7d853b (patch) | |
tree | 1bab4e67a8ec6ef713bfebace476e222894997ba /net/mac80211/scan.c | |
parent | ath9k_htc: Add Panasonic N5HBZ0000055 device id (diff) | |
download | linux-0446b49c3350ad1fdbc5a3f8f8223fc8af7d853b.tar.xz linux-0446b49c3350ad1fdbc5a3f8f8223fc8af7d853b.zip |
mac80211: remove ieee80211_rx_bss_get
its not used where, while we directly obtain ieee80211_bss's
pointer in ibss.c by calling cfg80211_get_bss
Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/scan.c')
-rw-r--r-- | net/mac80211/scan.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c index 56175933c28f..45f5aa229efd 100644 --- a/net/mac80211/scan.c +++ b/net/mac80211/scan.c @@ -29,20 +29,6 @@ #define IEEE80211_CHANNEL_TIME (HZ / 33) #define IEEE80211_PASSIVE_CHANNEL_TIME (HZ / 8) -struct ieee80211_bss * -ieee80211_rx_bss_get(struct ieee80211_local *local, u8 *bssid, int freq, - u8 *ssid, u8 ssid_len) -{ - struct cfg80211_bss *cbss; - - cbss = cfg80211_get_bss(local->hw.wiphy, - ieee80211_get_channel(local->hw.wiphy, freq), - bssid, ssid, ssid_len, 0, 0); - if (!cbss) - return NULL; - return (void *)cbss->priv; -} - static void ieee80211_rx_bss_free(struct cfg80211_bss *cbss) { struct ieee80211_bss *bss = (void *)cbss->priv; |