1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-14 15:21:56 +02: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:
nbd 2007-08-10 23:28:05 +00:00
parent 6c083dc04d
commit bf40229571

View File

@ -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 bgscan "$vif" bgscan 0
iwpriv "$ifname" bgscan "$bgscan"
config_get_bool antdiv "$device" diversity 1
sysctl -w dev."$device".diversity="$antdiv" >&-