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