mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
2fa7a98fc9
commit
e535c7566e
2 changed files with 4 additions and 22 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue