hostapd: fix iapp_interface option
[openwrt/staging/wigyori.git] / package / network / services / hostapd / files / hostapd.sh
index 0030516ccd6bd6f0180c65bed333fa15892f0935..e1ec799ec77e882b8f9999a6262687072ae6eaaa 100644 (file)
@@ -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"
        }