mirror of https://github.com/hak5/openwrt-owl.git
parent
8243f3c1b1
commit
8445b132ce
|
@ -157,10 +157,8 @@ enable_atheros() {
|
|||
esac
|
||||
config_get ssid "$vif" ssid
|
||||
|
||||
[ "$mode" = "sta" ] && {
|
||||
config_get_bool bgscan "$vif" bgscan 0
|
||||
iwpriv "$ifname" bgscan "$bgscan"
|
||||
}
|
||||
|
||||
config_get_bool antdiv "$device" diversity 1
|
||||
sysctl -w dev."$device".diversity="$antdiv" >&-
|
||||
|
|
Loading…
Reference in New Issue