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