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 | 0be32368ad57192f5b92c96f61021b6d8752469e (patch) | |
tree | ee4cc1f042906b1a41b1102091ca342dab62a191 /package/network/services/hostapd/patches/340-reload_freq_change.patch | |
parent | d82b57a74f46f61ae387a344926100d61ec72d93 (diff) | |
download | upstream-0be32368ad57192f5b92c96f61021b6d8752469e.tar.gz upstream-0be32368ad57192f5b92c96f61021b6d8752469e.tar.bz2 upstream-0be32368ad57192f5b92c96f61021b6d8752469e.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45045 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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; |