icnss: Add state check before calling wlan suspend/resume
Check if wlan module is loaded before calling wlan
suspend/resume as wlan could be turned on before FW
ready. In this case, wlan driver operations are registered
to icnss platform but wlan driver is not loaded.
CRs-Fixed: 1044223
Change-Id: I134790377e15d4003ecfa686a9fa7ab720e08865
Signed-off-by:
Yuanyuan Liu <yuanliu@codeaurora.org>
Loading
Please register or sign in to comment