From: Lorenzo Santina Date: Sat, 9 Sep 2017 14:40:57 +0000 (+0200) Subject: hostapd: fix iapp_interface option X-Git-Tag: v18.06.0-rc1~2284 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bd24d53ea2ac1c174838cbf21f511db8718175b7;p=openwrt%2Fstaging%2Fchunkeey.git 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 --- 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" }