diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-04-23 10:13:26 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-06 15:14:36 -0400 |
commit | 2d0ddec5b2b859f06116f631fc0ffe94fbceb556 (patch) | |
tree | 9bf3cdfcbbefcb34f5984e6d797f488ebe358196 /net/mac80211/mlme.c | |
parent | 57c4d7b4c4986037be51476b8e3025d5ba18d8b8 (diff) |
mac80211: unify config_interface and bss_info_changed
The config_interface method is a little strange, it contains the
BSSID and beacon updates, while bss_info_changed contains most
other BSS information for each interface. This patch removes
config_interface and rolls all the information it previously
passed to drivers into bss_info_changed.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index bfd571e6f221..c7971196d9d5 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -2289,12 +2289,8 @@ int ieee80211_sta_set_bssid(struct ieee80211_sub_if_data *sdata, u8 *bssid) | |||
2289 | ifmgd->flags &= ~IEEE80211_STA_BSSID_SET; | 2289 | ifmgd->flags &= ~IEEE80211_STA_BSSID_SET; |
2290 | } | 2290 | } |
2291 | 2291 | ||
2292 | if (netif_running(sdata->dev)) { | 2292 | if (netif_running(sdata->dev)) |
2293 | if (ieee80211_if_config(sdata, IEEE80211_IFCC_BSSID)) { | 2293 | ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_BSSID); |
2294 | printk(KERN_DEBUG "%s: Failed to config new BSSID to " | ||
2295 | "the low-level driver\n", sdata->dev->name); | ||
2296 | } | ||
2297 | } | ||
2298 | 2294 | ||
2299 | return ieee80211_sta_commit(sdata); | 2295 | return ieee80211_sta_commit(sdata); |
2300 | } | 2296 | } |