mac80211: update to wireless-testing 2017-10-06
[openwrt/staging/chunkeey.git] / package / kernel / mac80211 / patches / 862-brcmfmac-Disable-power-management.patch
index 104438a..43f8fbf 100644 (file)
@@ -14,12 +14,12 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
 
 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
 +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
-@@ -2746,6 +2746,10 @@ brcmf_cfg80211_set_power_mgmt(struct wip
+@@ -2838,6 +2838,10 @@ brcmf_cfg80211_set_power_mgmt(struct wip
         * preference in cfg struct to apply this to
         * FW later while initializing the dongle
         */
-+#if defined(CONFIG_BCM2708) || defined(CONFIG_BCM2709)
-+      pr_info("power management disabled\n");
++#if defined(CONFIG_ARCH_BCM2835)
++      brcmf_dbg(INFO, "power management disabled\n");
 +      enabled = false;
 +#endif
        cfg->pwr_save = enabled;