madwifi: merge uapsd setting change from r17510 to fix powersave with some mobile...
authorFelix Fietkau <nbd@openwrt.org>
Thu, 17 Sep 2009 11:54:48 +0000 (11:54 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 17 Sep 2009 11:54:48 +0000 (11:54 +0000)
SVN-Revision: 17603

package/madwifi/files/lib/wifi/madwifi.sh

index 6d10e24..e7d83d3 100755 (executable)
@@ -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"