treewide: fix shellscript syntax errors/typos
[openwrt/staging/hauke.git] / package / network / services / hostapd / files / hostapd.sh
index e1ec799ec77e882b8f9999a6262687072ae6eaaa..73ad6d67047601b52a4ec5cb393149c572c327c9 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) ;;