ayaports/user/linux-rm/brcmfmac-disable-power-management.patch

13 lines
633 B
Diff

diff --git a/./drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c.orig b/./drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
index f507d82..6c06044 100644
--- a/./drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c.orig
+++ b/./drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
@@ -2743,6 +2743,8 @@ brcmf_cfg80211_set_power_mgmt(struct wiphy *wiphy, struct net_device *ndev,
* preference in cfg struct to apply this to
* FW later while initializing the dongle
*/
+ pr_info("power management disabled\n");
+ enabled = false;
cfg->pwr_save = enabled;
if (!check_vif_up(ifp->vif)) {