wpa-supplicant: add 802.11r client support
[openwrt.git] / package / network / services / hostapd / files / wpa_supplicant.sh
index bd86801..b678484 100644 (file)
@@ -186,7 +186,7 @@ network={
        $wep_tx_keyidx
 }
 EOF
-       if [ -n "$proto" -o "$key_mgmt" == "NONE" ]; then
+       if [ -n "$proto" -o "$key_mgmt" = "NONE" ]; then
                wpa_supplicant ${bridge:+ -b $bridge} -B -P "/var/run/wifi-${ifname}.pid" -D ${driver:-wext} -i "$ifname" -c /var/run/wpa_supplicant-$ifname.conf $options
        else
                return 0