summaryrefslogtreecommitdiff
path: root/package/madwifi
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2008-02-05 13:36:30 +0000
committerJohn Crispin <john@openwrt.org>2008-02-05 13:36:30 +0000
commit2630cb3800ee5a9c6ab18b45ccb10ca56b75f5dc (patch)
tree5ce66d7b51a555449e9f5a4bb017ed637c74f6fb /package/madwifi
parentb7dc7f320fb7dffddae37ddf56b6bae8db3dd9e4 (diff)
downloadmtk-20170518-2630cb3800ee5a9c6ab18b45ccb10ca56b75f5dc.zip
mtk-20170518-2630cb3800ee5a9c6ab18b45ccb10ca56b75f5dc.tar.gz
mtk-20170518-2630cb3800ee5a9c6ab18b45ccb10ca56b75f5dc.tar.bz2
fix wpa_supplicant for madwifi
SVN-Revision: 10392
Diffstat (limited to 'package/madwifi')
-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 6baf482..5a25edd 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
;;