icnss2: Check for WLAN mode before pm resume
Check for WLAN mode ON before calling exit power save
QMI to FW. Need this protection in case of IDLE shutdown
with PM suspend/resume.
During IDLE shutdown mode off will be sent to FW. Now if
APSS goes into PM suspend/resume. As part of resume exit
power save QMI will be sent to FW. As FW is in MODE off
state so FW rejects this QMI req.
To protect sending exit power save QMI request in mode off
state add check for WLAN MODE as mode on.
Change-Id: Ibd3f6461966e5122a9648b92a79f35bedcc35d8d
Signed-off-by:
Naman Padhiar <npadhiar@codeaurora.org>
Loading
Please register or sign in to comment