]> git.baikalelectronics.ru Git - kernel.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)
commit686c83c3bde838780900cd5f11027fc33d1a8fca
tree44d33af207ebeeaa1635a967d232a3d3eff8df3d
parent0eefdb12f3cd6cf6a07875e9c8c60b9bd862bcb8
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