mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-21 03:55:06 +00:00
fix wpa_supplicant for madwifi
SVN-Revision: 10392
This commit is contained in:
parent
b7dc7f320f
commit
2630cb3800
@ -277,13 +277,12 @@ enable_atheros() {
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
cat > /var/run/wpa_supplicant-$ifname.conf <<EOF
|
cat > /var/run/wpa_supplicant-$ifname.conf <<EOF
|
||||||
ctrl_interface=/var/run/wpa_supplicant
|
|
||||||
network={
|
network={
|
||||||
scan_ssid=1
|
scan_ssid=1
|
||||||
ssid="$ssid"
|
ssid="$ssid"
|
||||||
key_mgmt=WPA-PSK
|
key_mgmt=WPA-PSK
|
||||||
$proto
|
$proto
|
||||||
psk="$passphrase"
|
psk=$passphrase
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user