diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-03-26 23:33:47 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-03-26 23:33:47 +0000 |
commit | 9c7784e5f3c4e3e1f6d8ede0e20d2993e9c01c08 (patch) | |
tree | 20bd07003fa92d1c6a089c85261b617029125949 /package/network/services/hostapd/patches/340-reload_freq_change.patch | |
parent | 39370cbe25809c2b613fe19ff731e8e9022e4934 (diff) | |
download | mtk-20170518-9c7784e5f3c4e3e1f6d8ede0e20d2993e9c01c08.zip mtk-20170518-9c7784e5f3c4e3e1f6d8ede0e20d2993e9c01c08.tar.gz mtk-20170518-9c7784e5f3c4e3e1f6d8ede0e20d2993e9c01c08.tar.bz2 |
hostapd: update hostapd to 2015-03-25
madwifi was dropped upstream, can't find it anywhere in OpenWrt
either, thus finally burrying madwifi.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45045
Diffstat (limited to 'package/network/services/hostapd/patches/340-reload_freq_change.patch')
-rw-r--r-- | package/network/services/hostapd/patches/340-reload_freq_change.patch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/network/services/hostapd/patches/340-reload_freq_change.patch b/package/network/services/hostapd/patches/340-reload_freq_change.patch index 72ff21c..91b6196 100644 --- a/package/network/services/hostapd/patches/340-reload_freq_change.patch +++ b/package/network/services/hostapd/patches/340-reload_freq_change.patch @@ -1,6 +1,6 @@ --- a/src/ap/hostapd.c +++ b/src/ap/hostapd.c -@@ -71,6 +71,16 @@ static void hostapd_reload_bss(struct ho +@@ -76,6 +76,16 @@ static void hostapd_reload_bss(struct ho #endif /* CONFIG_NO_RADIUS */ ssid = &hapd->conf->ssid; @@ -17,7 +17,7 @@ if (!ssid->wpa_psk_set && ssid->wpa_psk && !ssid->wpa_psk->next && ssid->wpa_passphrase_set && ssid->wpa_passphrase) { /* -@@ -171,20 +181,12 @@ int hostapd_reload_config(struct hostapd +@@ -175,21 +185,12 @@ int hostapd_reload_config(struct hostapd oldconf = hapd->iconf; iface->conf = newconf; @@ -28,6 +28,7 @@ hapd = iface->bss[j]; hapd->iconf = newconf; - hapd->iconf->channel = oldconf->channel; +- hapd->iconf->acs = oldconf->acs; - hapd->iconf->secondary_channel = oldconf->secondary_channel; - hapd->iconf->ieee80211n = oldconf->ieee80211n; - hapd->iconf->ieee80211ac = oldconf->ieee80211ac; |