diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-08-10 23:28:05 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-08-10 23:28:05 +0000 |
commit | 8445b132ce24536f4364fb15a5f9f9cf9f5ea03a (patch) | |
tree | c41955313791423b635aaf62f9f83ffed162effc /package | |
parent | 8243f3c1b1143f5cba019a7a2ee21394abdd540c (diff) | |
download | mtk-20170518-8445b132ce24536f4364fb15a5f9f9cf9f5ea03a.zip mtk-20170518-8445b132ce24536f4364fb15a5f9f9cf9f5ea03a.tar.gz mtk-20170518-8445b132ce24536f4364fb15a5f9f9cf9f5ea03a.tar.bz2 |
adhoc has issues with bgscan as well
SVN-Revision: 8394
Diffstat (limited to 'package')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 9f46406..2a86e91 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -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" >&- |