adhoc has issues with bgscan as well

SVN-Revision: 8394
This commit is contained in:
Felix Fietkau 2007-08-10 23:28:05 +00:00
parent 8243f3c1b1
commit 8445b132ce

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" >&-