1 From 66ae1b1750720a33e29792a177b1e696f4f005fb Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Wed, 9 Mar 2016 17:25:59 +0000
4 Subject: [PATCH] brcmfmac: Disable power management
6 Disable wireless power saving in the brcmfmac WLAN driver. This is a
7 temporary measure until the connectivity loss resulting from power
10 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
12 drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c | 2 ++
13 1 file changed, 2 insertions(+)
15 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
16 +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
17 @@ -2773,6 +2773,10 @@ brcmf_cfg80211_set_power_mgmt(struct wip
18 * preference in cfg struct to apply this to
19 * FW later while initializing the dongle
21 +#if defined(CONFIG_BCM2708) || defined(CONFIG_BCM2709)
22 + pr_info("power management disabled\n");
25 cfg->pwr_save = enabled;
26 if (!check_vif_up(ifp->vif)) {