rsi: resolve power save issue after S4 resume
authorSiva Rebbagondla <siva.rebbagondla@redpinesignals.com>
Mon, 4 Feb 2019 06:33:28 +0000 (12:03 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 8 Feb 2019 15:29:40 +0000 (17:29 +0200)
commit73f9b25714870c924edd8f6a62c855558e9d09e5
treef80521456dd5fe041be85c23a9bdcf58ce0d63f9
parenta63762d0dc3655e8a5c31c89769eb60be4115e17
rsi: resolve power save issue after S4 resume

We are redownloading the firmware after S4 restore and observed in
stress test that mac80211 sometimes gives power save request after
resume which causes the firmware in bad state. mac_ops_resumed flag
is added to skip that request until initialisation is done and Keeping
power save state is NONE.

Signed-off-by: Siva Rebbagondla <siva.rebbagondla@redpinesignals.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_mac80211.c
drivers/net/wireless/rsi/rsi_91x_sdio.c
drivers/net/wireless/rsi/rsi_main.h