From 83ad2000a37e6e2f2bf658553c7997c7f03459d1 Mon Sep 17 00:00:00 2001 From: James Rayner Date: Mon, 28 Sep 2009 00:37:22 +1000 Subject: Add stop to netcfg-wpa_actiond, default to WPA2, then WPA. --- src/8021x | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/8021x b/src/8021x index ce4fbf2..7657ead 100644 --- a/src/8021x +++ b/src/8021x @@ -76,9 +76,9 @@ make_wpa_config() { ;; wpa) if [[ "${#KEY}" -eq 64 ]]; then - echo "ssid=\"$ESSID\" \npsk=$KEY" + echo "proto=RSN WPA\n ssid=\"$ESSID\" \npsk=$KEY" else - echo "ssid=\"$ESSID\" \npsk=\"$KEY\"" + echo "proto=RSN WPA\n ssid=\"$ESSID\" \npsk=\"$KEY\"" fi ;; wpa-configsection) -- cgit v1.2.3-24-g4f1b