From: Felix Fietkau Date: Sun, 19 Dec 2010 11:56:49 +0000 (+0000) Subject: hostapd: fix appending the iapp_interface variable to the config X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=82e8bcdceaf058e0d1e2ec872ba43b4dbb2d6422;ds=sidebyside hostapd: fix appending the iapp_interface variable to the config Signed-off-by: Alexander Couzens SVN-Revision: 24724 --- diff --git a/package/hostapd/files/hostapd.sh b/package/hostapd/files/hostapd.sh index 39f98f2c43..7d110dbf6d 100644 --- a/package/hostapd/files/hostapd.sh +++ b/package/hostapd/files/hostapd.sh @@ -137,7 +137,7 @@ hostapd_set_bss_options() { append "$var" "ssid=$ssid" "$N" [ -n "$bridge" ] && append "$var" "bridge=$bridge" "$N" [ -n "$ieee80211d" ] && append "$var" "ieee80211d=$ieee80211d" "$N" - [ -n "$iapp_interface" ] && append "$var" $(uci_get_state network "$iapp_interface" ifname "$iapp_interface") "$N" + [ -n "$iapp_interface" ] && append "$var" iapp_interface=$(uci_get_state network "$iapp_interface" ifname "$iapp_interface") "$N" if [ "$wpa" -ge "2" ] then