Skip to content

Commit

Permalink
Revert "brcmfmac: Disable power management"
Browse files Browse the repository at this point in the history
This reverts commit b418081.
  • Loading branch information
Phil Elwell authored and pelwell committed Feb 3, 2020
1 parent 7843aba commit 9b9589b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
Expand Up @@ -2829,8 +2829,6 @@ 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)) {

Expand All @@ -2844,7 +2842,7 @@ brcmf_cfg80211_set_power_mgmt(struct wiphy *wiphy, struct net_device *ndev,
brcmf_dbg(INFO, "Do not enable power save for P2P clients\n");
pm = PM_OFF;
}
brcmf_dbg(INFO, "power save %s\n", (pm ? "enabled" : "disabled"));
brcmf_err("power save %s\n", (pm ? "enabled" : "disabled"));

err = brcmf_fil_cmd_int_set(ifp, BRCMF_C_SET_PM, pm);
if (err) {
Expand Down

0 comments on commit 9b9589b

Please sign in to comment.