aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-04 11:51:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-04 11:51:59 +0000
commit1bf5ac03fb4750eade89254f2dd6ec9af45f0603 (patch)
tree41bc211bb49a933b803bbf6cdeea8f71d8cc03cc /package
parent8d92ff222a9ca58510e0a0f340570df5bf0ada92 (diff)
downloadmaster-187ad058-1bf5ac03fb4750eade89254f2dd6ec9af45f0603.tar.gz
master-187ad058-1bf5ac03fb4750eade89254f2dd6ec9af45f0603.tar.bz2
master-187ad058-1bf5ac03fb4750eade89254f2dd6ec9af45f0603.zip
hostapd: replace undefined $bridge with $network_bridge
Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41002 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/network/services/hostapd/files/netifd.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh
index 1cc5713cbf..a36a0697d8 100644
--- a/package/network/services/hostapd/files/netifd.sh
+++ b/package/network/services/hostapd/files/netifd.sh
@@ -276,7 +276,7 @@ hostapd_set_bss_options() {
wps_state=2
[ -n "$wps_configured" ] && wps_state=1
- [ "$ext_registrar" -gt 0 -a -n "$bridge" ] && append bss_conf "upnp_iface=$bridge" "$N"
+ [ "$ext_registrar" -gt 0 -a -n "$network_bridge" ] && append bss_conf "upnp_iface=$network_bridge" "$N"
append bss_conf "eap_server=1" "$N"
append bss_conf "ap_pin=$wps_pin" "$N"
@@ -297,10 +297,10 @@ hostapd_set_bss_options() {
}
if [ "$wpa" -ge "2" ]; then
- if [ -n "$bridge" -a "$rsn_preauth" = 1 ]; then
+ if [ -n "$network_bridge" -a "$rsn_preauth" = 1 ]; then
set_default auth_cache 1
append bss_conf "rsn_preauth=1" "$N"
- append bss_conf "rsn_preauth_interfaces=$bridge" "$N"
+ append bss_conf "rsn_preauth_interfaces=$network_bridge" "$N"
else
set_default auth_cache 0
fi