[include] autotools.mk: allow autogen.sh / autoreconf to fail (for now)
[openwrt.git] / package / hostapd / patches / 550-reload_freq_change.patch
1 --- a/src/ap/hostapd.c
2 +++ b/src/ap/hostapd.c
3 @@ -115,6 +115,10 @@ int hostapd_reload_config(struct hostapd
4 oldconf = hapd->iconf;
5 iface->conf = newconf;
6
7 + iface->freq = hostapd_hw_get_freq(hapd, hapd->iconf->channel);
8 + if (iface->current_mode)
9 + hostapd_prepare_rates(hapd, iface->current_mode);
10 +
11 for (j = 0; j < iface->num_bss; j++) {
12 hapd = iface->bss[j];
13 hapd->iconf = newconf;
This page took 0.043216 seconds and 5 git commands to generate.