adhoc has issues with bgscan as well

SVN-Revision: 8394
owl
Felix Fietkau 2007-08-10 23:28:05 +00:00
parent 8243f3c1b1
commit 8445b132ce
1 changed files with 2 additions and 4 deletions

View File

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