summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorLorenzo Santina <lorenzo.santina.dev@gmail.com>2017-09-09 16:40:57 +0200
committerMathias Kresin <dev@kresin.me>2017-09-10 08:31:05 +0200
commit082e6215b7cc5c823d6b0254de45420209ad68b1 (patch)
tree04af848cf2f18f854cb44c8259f453a4e7354ac7 /package
parentab305e147ed7f950e8b34d0de23797c8dbb6a27f (diff)
downloadmtk-20170518-082e6215b7cc5c823d6b0254de45420209ad68b1.zip
mtk-20170518-082e6215b7cc5c823d6b0254de45420209ad68b1.tar.gz
mtk-20170518-082e6215b7cc5c823d6b0254de45420209ad68b1.tar.bz2
hostapd: fix iapp_interface option
ifname variable were not assigned due to syntax error causing the hostapd config file to have an empty iapp_interface= option Signed-off-by: Lorenzo Santina <lorenzo.santina.dev@gmail.com>
Diffstat (limited to 'package')
-rw-r--r--package/network/services/hostapd/files/hostapd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh
index 32c09c6..57d74d8 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -364,7 +364,7 @@ hostapd_set_bss_options() {
[ -n "$network_bridge" ] && append bss_conf "bridge=$network_bridge" "$N"
[ -n "$iapp_interface" ] && {
local ifname
- network_get_device ifname "$iapp_interface" || ifname = "$iapp_interface"
+ network_get_device ifname "$iapp_interface" || ifname="$iapp_interface"
append bss_conf "iapp_interface=$ifname" "$N"
}