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 6d10e24f85477de20344a35503a5ad33320719fb..e7d83d3a9e897a5fb116ea7860eaccc0e9cbcbb5 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"