madwifi: fix distance setting
SVN-Revision: 15824
This commit is contained in:
parent
251a81b192
commit
251a657eaf
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue