diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-05-23 11:18:45 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-06-03 14:05:09 -0400 |
commit | e535c7566e1318ccfa015e297f0309994f7bc078 (patch) | |
tree | 586e150edc49e9bf64f7fea728ce37b8cff4063a /net/mac80211 | |
parent | 2fa7a98fc96abe431e5d54d97104cdca197391fa (diff) | |
download | linux-stable-e535c7566e1318ccfa015e297f0309994f7bc078.tar.gz linux-stable-e535c7566e1318ccfa015e297f0309994f7bc078.tar.bz2 linux-stable-e535c7566e1318ccfa015e297f0309994f7bc078.zip |
mac80211: deprecate conf.beacon_int properly
Ivo has updated the driver to no longer use the change flag,
so we can remove that, but rt2x00 and ath5k still use the
actual value so let's mark it as deprecated too.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/main.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index e37770ced53c..2683df918073 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -289,16 +289,8 @@ void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata, drv_bss_info_changed(local, &sdata->vif, &sdata->vif.bss_conf, changed); - /* - * DEPRECATED - * - * ~changed is just there to not do this at resume time - */ - if (changed & BSS_CHANGED_BEACON_INT && ~changed) { - local->hw.conf.beacon_int = sdata->vif.bss_conf.beacon_int; - ieee80211_hw_config(local, - _IEEE80211_CONF_CHANGE_BEACON_INTERVAL); - } + /* DEPRECATED */ + local->hw.conf.beacon_int = sdata->vif.bss_conf.beacon_int; } u32 ieee80211_reset_erp_info(struct ieee80211_sub_if_data *sdata) |