]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
wcn36xx: Disable power save for now
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 11 Jan 2016 18:33:27 +0000 (10:33 -0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 14 Mar 2018 02:42:09 +0000 (02:42 +0000)
Enabling power save results in extremely long ping times and stalling
transfers. So disable it for not until we can figure out how to work
around this.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/net/wireless/ath/wcn36xx/main.c

index 00843ed31031ae92d3d23e56c4139531f0afe1f4..5e47ac041a9332d7e827700e4a963c7bc970d2b6 100644 (file)
@@ -1016,6 +1016,9 @@ static int wcn36xx_init_ieee80211(struct wcn36xx *wcn)
 
        wcn->hw->wiphy->flags |= WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD;
 
+       /* TODO: Figure out why this is necessary */
+       wcn->hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
+
 #ifdef CONFIG_PM
        wcn->hw->wiphy->wowlan = &wowlan_support;
 #endif