summaryrefslogtreecommitdiffstats
path: root/package/madwifi/files/lib
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-02-05 13:36:30 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-02-05 13:36:30 +0000
commit3930646affbdca1860cd5a73901452541ab143ce (patch)
tree0b95e75459fbecb9c7f326102142eb132f0fefa9 /package/madwifi/files/lib
parentfc209e5b5d1672e1982fb0d7f3588f9941548128 (diff)
fix wpa_supplicant for madwifi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10392 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files/lib')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 6baf482dc..5a25eddae 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -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
;;