mac80211: sync with master branch as of 9edff13abd97
[openwrt/staging/nbd.git] / package / kernel / mac80211 / patches / 862-brcmfmac-Disable-power-management.patch
index 5a93fb4667c969a6f59786b90534a8e226341907..1819cf399991d70c4ded9de8da74f7e18ca528cd 100644 (file)
@@ -14,11 +14,11 @@ 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
-@@ -2773,6 +2773,10 @@ brcmf_cfg80211_set_power_mgmt(struct wip
+@@ -2775,6 +2775,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_ARCH_BCM2708) || defined(CONFIG_ARCH_BCM2709)
++#if defined(CONFIG_ARCH_BCM2835)
 +      brcmf_dbg(INFO, "power management disabled\n");
 +      enabled = false;
 +#endif