1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-18 22:43:53 +01:00

madwifi: fix distance setting

SVN-Revision: 15824
This commit is contained in:
Felix Fietkau 2009-05-13 13:02:20 +00:00
parent 251a81b192
commit 251a657eaf

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