diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-02-10 15:25:56 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-13 13:45:51 -0500 |
commit | 99cf5f5f3571ce3a837e379d3b87bf5ddf54f17d (patch) | |
tree | cde967301cfcb781d1427112b40b7f7061d2df70 /net/mac80211/ieee80211_i.h | |
parent | 2a5193119269062608582418deba7af82844159a (diff) |
mac80211: dont add BSS when creating IBSS
There's no need to create a BSS struct only to pass it to
ieee80211_sta_join_ibss, so refactor this function into
__ieee80211_sta_join_ibss which takes all the relevant
paramters, and ieee80211_sta_join_ibss which takes a BSS
struct (used when joining an IBSS that already has other
members).
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index cbc0b7d647f9..87d63fe61bf9 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -953,9 +953,6 @@ ieee80211_bss_info_update(struct ieee80211_local *local, | |||
953 | struct ieee80211_channel *channel, | 953 | struct ieee80211_channel *channel, |
954 | bool beacon); | 954 | bool beacon); |
955 | struct ieee80211_bss * | 955 | struct ieee80211_bss * |
956 | ieee80211_rx_bss_add(struct ieee80211_local *local, u8 *bssid, int freq, | ||
957 | u8 *ssid, u8 ssid_len); | ||
958 | struct ieee80211_bss * | ||
959 | ieee80211_rx_bss_get(struct ieee80211_local *local, u8 *bssid, int freq, | 956 | ieee80211_rx_bss_get(struct ieee80211_local *local, u8 *bssid, int freq, |
960 | u8 *ssid, u8 ssid_len); | 957 | u8 *ssid, u8 ssid_len); |
961 | void ieee80211_rx_bss_put(struct ieee80211_local *local, | 958 | void ieee80211_rx_bss_put(struct ieee80211_local *local, |