mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-19 22:33:41 +03:00
adhoc has issues with bgscan as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8394 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6c083dc04d
commit
bf40229571
@ -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
Block a user