1
0

862-brcmfmac-Disable-power-management.patch 972 B

123456789101112131415161718192021222324252627
  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
  5. Disable wireless power saving in the brcmfmac WLAN driver. This is a
  6. temporary measure until the connectivity loss resulting from power
  7. saving is resolved.
  8. Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  9. ---
  10. drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c | 2 ++
  11. 1 file changed, 2 insertions(+)
  12. --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
  13. +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
  14. @@ -2775,6 +2775,10 @@ brcmf_cfg80211_set_power_mgmt(struct wip
  15. * preference in cfg struct to apply this to
  16. * FW later while initializing the dongle
  17. */
  18. +#if defined(CONFIG_ARCH_BCM2835)
  19. + brcmf_dbg(INFO, "power management disabled\n");
  20. + enabled = false;
  21. +#endif
  22. cfg->pwr_save = enabled;
  23. if (!check_vif_up(ifp->vif)) {