From bf4022957156bb08faa981be8cdb3c15e04e747a Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 10 Aug 2007 23:28:05 +0000 Subject: adhoc has issues with bgscan as well git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8394 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/files/lib/wifi/madwifi.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'package') diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 9f464065a7..2a86e91905 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" >&- -- cgit v1.2.3