aboutsummaryrefslogtreecommitdiffstats
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:30:32 +0200
commitbd24d53ea2ac1c174838cbf21f511db8718175b7 (patch)
treec5002df87fbe5efce984d06109752d15ca6bbe37
parente2218ea14826db69619812c5a778fd53c9099e6f (diff)
downloadupstream-bd24d53ea2ac1c174838cbf21f511db8718175b7.tar.gz
upstream-bd24d53ea2ac1c174838cbf21f511db8718175b7.tar.bz2
upstream-bd24d53ea2ac1c174838cbf21f511db8718175b7.zip
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>
-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 0030516ccd..e1ec799ec7 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -372,7 +372,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"
}