Loading
icnss2: Avoid sending modem shutdown indication to fw if it is down
Icnss2 driver sends modem shutdown indication to
wlan fw if modem is shutting down gracefully. In
cases where wlan fw got crashed and in separate context
modem is getting gracefully restarted (eg. device restart),
icnss driver trying to send modem shutdown indication
and as part of server exit it is unregsitering and
registering to qmi service at same time. Due to this,
qmi handle is getting changed while trying to send qmi
message to wlan fw. So, avoid sending modem shutdown qmi
message to wlan fw when it is down.
Change-Id: I8cab76b0e0ede293c8cd4c7bc1cc4d7ef4b927db
Signed-off-by:
Sandeep Singh <sandsing@codeaurora.org>