mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 15:35:30 +02:00
fix wep encryption setting for madwifi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6655 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cd3aa7e128
commit
6e8c336f90
@ -125,7 +125,11 @@ enable_atheros() {
|
|||||||
iwconfig "$ifname" enc "[$idx]" "${key:-off}"
|
iwconfig "$ifname" enc "[$idx]" "${key:-off}"
|
||||||
done
|
done
|
||||||
config_get key "$vif" key
|
config_get key "$vif" key
|
||||||
iwconfig "$ifname" enc "${key:-1}"
|
key="${key:-1}"
|
||||||
|
case "$key" in
|
||||||
|
[1234]) iwconfig "$ifname" enc "[$key]";;
|
||||||
|
*) iwconfig "$ifname" enc "$key";;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
PSK|psk|PSK2|psk2)
|
PSK|psk|PSK2|psk2)
|
||||||
config_get key "$vif" key
|
config_get key "$vif" key
|
||||||
|
Loading…
Reference in New Issue
Block a user