madwifi: merge uapsd setting change from r17510 to fix powersave with some mobile...
[openwrt/svn-archive/archive.git] / 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"