madwifi: fix distance setting

SVN-Revision: 15824
owl
Felix Fietkau 2009-05-13 13:02:20 +00:00
parent 251a81b192
commit 251a657eaf
1 changed files with 2 additions and 0 deletions

View File

@ -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