mac80211: remove deprecated API
All but two drivers have now stopped using the two deprecated members radio_enabled and beacon_int, so it's about time to remove them for good. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: Kalle Valo <kalle.valo@iki.fi> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
3ac64beecd
commit
f424afa178
@@ -241,9 +241,6 @@ 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 */
|
||||
local->hw.conf.beacon_int = sdata->vif.bss_conf.beacon_int;
|
||||
}
|
||||
|
||||
u32 ieee80211_reset_erp_info(struct ieee80211_sub_if_data *sdata)
|
||||
@@ -687,7 +684,6 @@ struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len,
|
||||
local->hw.max_rates = 1;
|
||||
local->hw.conf.long_frame_max_tx_count = wiphy->retry_long;
|
||||
local->hw.conf.short_frame_max_tx_count = wiphy->retry_short;
|
||||
local->hw.conf.radio_enabled = true;
|
||||
local->user_power_level = -1;
|
||||
|
||||
INIT_LIST_HEAD(&local->interfaces);
|
||||
|
Reference in New Issue
Block a user