]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
wcn36xx: Disable power save
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 11 Jan 2016 18:33:27 +0000 (10:33 -0800)
committerNicolas Dechesne <nicolas.dechesne@linaro.org>
Tue, 21 Jun 2016 08:02:23 +0000 (11:02 +0300)
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 abc2e4efcf87c40f91106ef42af56374c4fbb730..2d9402e718fc6aafd4bda5787e5ad2cded519e50 100644 (file)
@@ -1072,6 +1072,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