From: Felix Fietkau Date: Thu, 3 Sep 2009 19:31:48 +0000 (+0000) Subject: madwifi: add a configuration for uapsd (unscheduled automatic powersave delivery... X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8691bbb699556ab797d74d635cc360732d9b92de;p=librecmc%2Flibrecmc.git madwifi: add a configuration for uapsd (unscheduled automatic powersave delivery), turn it off by default because of compatibility issues with nokia phones SVN-Revision: 17510 --- 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"