From: Felix Fietkau Date: Thu, 17 Sep 2009 11:54:48 +0000 (+0000) Subject: madwifi: merge uapsd setting change from r17510 to fix powersave with some mobile... X-Git-Tag: 8.09.2~46 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d360c52540709539289c0dc292cadac0d63e776c;p=openwrt%2Fsvn-archive%2Fopenwrt.git madwifi: merge uapsd setting change from r17510 to fix powersave with some mobile devices SVN-Revision: 17603 --- diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 6d10e24f85..e7d83d3a9e 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -214,6 +214,9 @@ enable_atheros() { ;; esac + config_get_bool uapsd "$vif" uapsd 0 + iwpriv "$ifname" uapsd "$uapsd" + config_get_bool bgscan "$vif" bgscan [ -n "$bgscan" ] && iwpriv "$ifname" bgscan "$bgscan"