hostapd: fix some whitespaces
authorLuka Perkov <luka@openwrt.org>
Mon, 11 Aug 2014 08:44:48 +0000 (08:44 +0000)
committerLuka Perkov <luka@openwrt.org>
Mon, 11 Aug 2014 08:44:48 +0000 (08:44 +0000)
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42111

package/network/services/hostapd/files/netifd.sh

index c7187293d5ad562740ad2db2f6678ed369f98b45..7cdcb52c3dcf2674eeb9341414c135c93e1b426e 100644 (file)
@@ -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) | \