scripts: fix wrong usage of '==' operator
[openwrt/openwrt.git] / package / kernel / mac80211 / files / lib / netifd / wireless / mac80211.sh
index e6241deb5f8c115033cc9264fe9b2830e1e77c56..918955a98a4dd465ae9af2953d1eb41453ccd0bc 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])