wil6210: restore power save state after internal FW reset
authorLazar Alexei <qca_ailizaro@qca.qualcomm.com>
Wed, 5 Apr 2017 11:58:05 +0000 (14:58 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 13 Apr 2017 12:45:43 +0000 (15:45 +0300)
commit8b068c032a5cbe6f80168e0ecf2c9625c8d14d90
treeca03c45a1922ccf8b68db70e415c727fa047753c
parent82e9f646555442d63e47155171592ee790275ea3
wil6210: restore power save state after internal FW reset

The power save profile is set to default state in case of FW reset,
regardless of the state before the reset took place.
Fix this by saving the current power save profile and restore it
in case of FW reset.

Signed-off-by: Lazar Alexei <qca_ailizaro@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/cfg80211.c
drivers/net/wireless/ath/wil6210/main.c
drivers/net/wireless/ath/wil6210/wil6210.h