diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh index c7187293d5..7cdcb52c3d 100644 --- a/package/network/services/hostapd/files/netifd.sh +++ b/package/network/services/hostapd/files/netifd.sh @@ -251,7 +251,7 @@ hostapd_set_bss_options() { } append bss_conf "nas_identifier=$nasid" "$N" - [ -n "$ownip" ] && append bss_conf "own_ip_addr=$ownip" "$N" + [ -n "$ownip" ] && append bss_conf "own_ip_addr=$ownip" "$N" append bss_conf "eapol_key_index_workaround=1" "$N" append bss_conf "ieee8021x=1" "$N" append bss_conf "wpa_key_mgmt=WPA-EAP" "$N" @@ -310,7 +310,7 @@ hostapd_set_bss_options() { append bss_conf "ssid=$ssid" "$N" [ -n "$network_bridge" ] && append bss_conf "bridge=$network_bridge" "$N" - [ -n "$iapp_interface" ] && { + [ -n "$iapp_interface" ] && { iapp_interface="$(uci_get_state network "$iapp_interface" ifname "$iapp_interface")" [ -n "$iapp_interface" ] && append bss_conf "iapp_interface=$iapp_interface" "$N" } @@ -390,7 +390,7 @@ hostapd_set_log_options() { set_default log_iapp 1 set_default log_mlme 1 - local log_mask=$(( \ + local log_mask=$(( \ ($log_80211 << 0) | \ ($log_8021x << 1) | \ ($log_radius << 2) | \