]> git.karo-electronics.de Git - linux-beck.git/commit
wil6210: fix no_fw_recovery mode with change_virtual_intf
authorLior David <qca_liord@qca.qualcomm.com>
Tue, 1 Mar 2016 17:18:16 +0000 (19:18 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 7 Mar 2016 09:43:20 +0000 (11:43 +0200)
commit375a173fc1524eb569c7e8f9cf331126a9d29033
tree44d33af207ebeeaa1635a967d232a3d3eff8df3d
parent6777e71ca91ea488488362a919900488e0ade3f2
wil6210: fix no_fw_recovery mode with change_virtual_intf

When FW crashed with no_fw_recovery mode enabled, user space
could still call wil_cfg80211_change_iface quickly to change
interface type, and this would cause recovery to proceed and
FW crash logs may be lost.
Fix this problem by not resetting the FW in case no_fw_recovery
is enabled.

Signed-off-by: Lior David <qca_liord@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/interrupt.c
drivers/net/wireless/ath/wil6210/main.c
drivers/net/wireless/ath/wil6210/wil6210.h