[ar71xx] aw-nr580: add support for the LAN ports
[openwrt.git] / package / wpa_supplicant / files / wpa_supplicant.sh
index debdf81..519f255 100644 (file)
@@ -28,7 +28,7 @@ wpa_supplicant_setup_vif() {
                                ;;
                        esac
                ;;
                                ;;
                        esac
                ;;
-               WPA|wpa|WPA2|wpa2i|8021x|8021X)
+               WPA|wpa|WPA2|wpa2|8021x|8021X)
                        proto='WPA2'
                        key_mgmt='WPA-EAP'
                        config_get ca_cert "$vif" ca_cert
                        proto='WPA2'
                        key_mgmt='WPA-EAP'
                        config_get ca_cert "$vif" ca_cert
@@ -58,6 +58,7 @@ wpa_supplicant_setup_vif() {
        config_get bridge "$vif" bridge
        config_get ssid "$vif" ssid
        cat > /var/run/wpa_supplicant-$ifname.conf <<EOF
        config_get bridge "$vif" bridge
        config_get ssid "$vif" ssid
        cat > /var/run/wpa_supplicant-$ifname.conf <<EOF
+ctrl_interface=/var/run/wpa_supplicant-$ifname
 network={
        scan_ssid=1
        ssid="$ssid"
 network={
        scan_ssid=1
        ssid="$ssid"
This page took 0.023651 seconds and 4 git commands to generate.