1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 18:42:25 +02:00

madwifi: fix distance setting

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15824 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2009-05-13 13:02:20 +00:00
parent e036e1ee00
commit 8b6a9610f8

View File

@ -219,6 +219,8 @@ enable_atheros() {
[ -n "$antrx" ] && sysctl -w dev."$device".rxantenna="$antrx" >&- [ -n "$antrx" ] && sysctl -w dev."$device".rxantenna="$antrx" >&-
[ -n "$anttx" ] && sysctl -w dev."$device".txantenna="$anttx" >&- [ -n "$anttx" ] && sysctl -w dev."$device".txantenna="$anttx" >&-
[ -n "$softled" ] && sysctl -w dev."$device".softled="$softled" >&- [ -n "$softled" ] && sysctl -w dev."$device".softled="$softled" >&-
config_get distance "$device" distance
[ -n "$distance" ] && sysctl -w dev."$device".distance="$distance" >&- [ -n "$distance" ] && sysctl -w dev."$device".distance="$distance" >&-
config_get rate "$vif" rate config_get rate "$vif" rate