OSDN Git Service

wil6210: fix no_fw_recovery mode with change_virtual_intf
authorLior David <qca_liord@qca.qualcomm.com>
Wed, 9 Mar 2016 08:06:12 +0000 (10:06 +0200)
committerKyle Yan <kyan@codeaurora.org>
Fri, 27 May 2016 21:53:13 +0000 (14:53 -0700)
commit6237ecf917a11cfcad2731d1aa97f4acf7430f5f
tree76767fb8e22a1becdacde47fff5b62646f8aaa9c
parentf696bf2b3ca9ec77a69ad0e18f53e8cf2497ecc2
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.

Change-Id: I139a5e846555e30666f96675400c6db6e1999e05
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>
git-commit: 375a173fc1524eb569c7e8f9cf331126a9d29033
Git-repo: https://github.com/kvalo/ath.git
CRs-Fixed: 982931
Signed-off-by: Maya Erez <merez@codeaurora.org>
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