summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-12-19 11:56:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-12-19 11:56:49 +0000
commit58ed4ded0e5b729244cf36a3431050ff09b376fa (patch)
treedc2990d458df659294234de34a27f1dd484d1ab9 /package
parent6acfae9379d2c31cf1252a10013f5d832aa54fef (diff)
downloadmtk-20170518-58ed4ded0e5b729244cf36a3431050ff09b376fa.zip
mtk-20170518-58ed4ded0e5b729244cf36a3431050ff09b376fa.tar.gz
mtk-20170518-58ed4ded0e5b729244cf36a3431050ff09b376fa.tar.bz2
hostapd: fix appending the iapp_interface variable to the config
Signed-off-by: Alexander Couzens <lynxis@c-base.org> SVN-Revision: 24724
Diffstat (limited to 'package')
-rw-r--r--package/hostapd/files/hostapd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/hostapd/files/hostapd.sh b/package/hostapd/files/hostapd.sh
index 39f98f2..7d110db 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