mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user