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. */
|
||||
|
||||
timeout = UINT_MAX;
|
||||
#ifdef CONFIG_IEEE80211_BROADCOM_LOWPOWER
|
||||
bcmf_sdio_bus_lowpower(sbus, true);
|
||||
#endif
|
||||
continue;
|
||||
}
|
||||
else if (ret < 0)
|
||||
|
|
Loading…
Reference in New Issue