madwifi: fix distance setting

SVN-Revision: 15824
master
Felix Fietkau 16 years ago
parent 251a81b192
commit 251a657eaf
  1. 2
      package/madwifi/files/lib/wifi/madwifi.sh

@ -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…
Cancel
Save