HE: Remove vht_ prefix from acs_adjust_vht_center_freq()
This is used for both VHT and HE, so remove the misleading prefix. Signed-off-by: Shashidhar Lakkavalli <slakkavalli@datto.com> Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
parent
7118a697f4
commit
39b9d059cd
1 changed files with 4 additions and 4 deletions
|
@ -607,7 +607,7 @@ acs_find_ideal_chan(struct hostapd_iface *iface)
|
||||||
|
|
||||||
bw = num_chan_to_bw(n_chans);
|
bw = num_chan_to_bw(n_chans);
|
||||||
|
|
||||||
/* TODO: VHT80+80. Update acs_adjust_vht_center_freq() too. */
|
/* TODO: VHT80+80. Update acs_adjust_center_freq() too. */
|
||||||
|
|
||||||
wpa_printf(MSG_DEBUG,
|
wpa_printf(MSG_DEBUG,
|
||||||
"ACS: Survey analysis for selected bandwidth %d MHz", bw);
|
"ACS: Survey analysis for selected bandwidth %d MHz", bw);
|
||||||
|
@ -783,7 +783,7 @@ acs_find_ideal_chan(struct hostapd_iface *iface)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void acs_adjust_vht_center_freq(struct hostapd_iface *iface)
|
static void acs_adjust_center_freq(struct hostapd_iface *iface)
|
||||||
{
|
{
|
||||||
int offset;
|
int offset;
|
||||||
|
|
||||||
|
@ -863,8 +863,8 @@ static void acs_study(struct hostapd_iface *iface)
|
||||||
|
|
||||||
iface->conf->channel = ideal_chan->chan;
|
iface->conf->channel = ideal_chan->chan;
|
||||||
|
|
||||||
if (iface->conf->ieee80211ac)
|
if (iface->conf->ieee80211ac || iface->conf->ieee80211ax)
|
||||||
acs_adjust_vht_center_freq(iface);
|
acs_adjust_center_freq(iface);
|
||||||
|
|
||||||
err = 0;
|
err = 0;
|
||||||
fail:
|
fail:
|
||||||
|
|
Loading…
Reference in a new issue