scripts: fix wrong usage of '==' operator
[openwrt.git] / package / kernel / mac80211 / files / lib / netifd / wireless / mac80211.sh
index e6241de..918955a 100644 (file)
@@ -476,7 +476,7 @@ mac80211_setup_adhoc() {
        json_get_vars bssid ssid key mcast_rate
 
        keyspec=
-       [ "$auth_type" == "wep" ] && {
+       [ "$auth_type" = "wep" ] && {
                set_default key 1
                case "$key" in
                        [1234])