fix wpa_supplicant for madwifi
authorJohn Crispin <john@openwrt.org>
Tue, 5 Feb 2008 13:36:30 +0000 (13:36 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 5 Feb 2008 13:36:30 +0000 (13:36 +0000)
SVN-Revision: 10392

package/madwifi/files/lib/wifi/madwifi.sh

index 6baf482dc545b1cf9c4ffc6ce2fed0efdb34e7e5..5a25eddae20f2f4202e603910f4daedb99e0f928 100755 (executable)
@@ -277,13 +277,12 @@ enable_atheros() {
                                                esac
                                                
                                                cat > /var/run/wpa_supplicant-$ifname.conf <<EOF
-ctrl_interface=/var/run/wpa_supplicant
 network={
        scan_ssid=1
        ssid="$ssid"
        key_mgmt=WPA-PSK
        $proto
-       psk="$passphrase"
+       psk=$passphrase
 }
 EOF
                                        ;;