From: Felix Fietkau Date: Fri, 10 Aug 2007 23:28:05 +0000 (+0000) Subject: adhoc has issues with bgscan as well X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8445b132ce24536f4364fb15a5f9f9cf9f5ea03a;p=openwrt%2Fstaging%2Fkaloz.git adhoc has issues with bgscan as well SVN-Revision: 8394 --- 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" >&-