aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches/340-reload_freq_change.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-26 23:33:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-26 23:33:47 +0000
commit9c7784e5f3c4e3e1f6d8ede0e20d2993e9c01c08 (patch)
tree20bd07003fa92d1c6a089c85261b617029125949 /package/network/services/hostapd/patches/340-reload_freq_change.patch
parent39370cbe25809c2b613fe19ff731e8e9022e4934 (diff)
downloadupstream-9c7784e5f3c4e3e1f6d8ede0e20d2993e9c01c08.tar.gz
upstream-9c7784e5f3c4e3e1f6d8ede0e20d2993e9c01c08.tar.bz2
upstream-9c7784e5f3c4e3e1f6d8ede0e20d2993e9c01c08.zip
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.patch5
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 72ff21cc61..91b61964dd 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;