madwifi: add a configuration for uapsd (unscheduled automatic powersave delivery...
authorFelix Fietkau <nbd@openwrt.org>
Thu, 3 Sep 2009 19:31:48 +0000 (19:31 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 3 Sep 2009 19:31:48 +0000 (19:31 +0000)
SVN-Revision: 17510

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"