treewide: fix shellscript syntax errors/typos
[openwrt/openwrt.git] / package / network / services / hostapd / files / hostapd.sh
index e1ec799..73ad6d6 100644 (file)
@@ -627,7 +627,7 @@ wpa_supplicant_add_network() {
                scan_ssid=""
        }
 
-       [[ "$_w_mode" = "adhoc" -o "$_w_mode" = "mesh" ]] && append network_data "$_w_modestr" "$N$T"
+       [ "$_w_mode" = "adhoc" -o "$_w_mode" = "mesh" ] && append network_data "$_w_modestr" "$N$T"
 
        case "$auth_type" in
                none) ;;