aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2008-02-05 13:36:30 +0000
committerJohn Crispin <blogic@openwrt.org>2008-02-05 13:36:30 +0000
commit46ed09781bb4baf26d75a3e028487fdadbbc324c (patch)
tree0b95e75459fbecb9c7f326102142eb132f0fefa9
parentbac49c8b2ed252bc1f0bf618f583119229231a2a (diff)
downloadupstream-46ed09781bb4baf26d75a3e028487fdadbbc324c.tar.gz
upstream-46ed09781bb4baf26d75a3e028487fdadbbc324c.tar.bz2
upstream-46ed09781bb4baf26d75a3e028487fdadbbc324c.zip
fix wpa_supplicant for madwifi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10392 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 6baf482dc5..5a25eddae2 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
;;