wireless/bcm43xxx: enter power saving only if IEEE80211_BROADCOM_LOWPOWER enabled
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
parent
266774939f
commit
cdcdce16f7
@ -992,7 +992,9 @@ int bcmf_sdio_thread(int argc, char **argv)
|
|||||||
/* Turn off clock request. */
|
/* Turn off clock request. */
|
||||||
|
|
||||||
timeout = UINT_MAX;
|
timeout = UINT_MAX;
|
||||||
|
#ifdef CONFIG_IEEE80211_BROADCOM_LOWPOWER
|
||||||
bcmf_sdio_bus_lowpower(sbus, true);
|
bcmf_sdio_bus_lowpower(sbus, true);
|
||||||
|
#endif
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if (ret < 0)
|
else if (ret < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user