mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-20 05:35:51 +03:00
fix wpa_supplicant for madwifi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10392 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fc209e5b5d
commit
3930646aff
@ -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