wil6210: fix locking in wmi_call
authorLior David <liord@codeaurora.org>
Wed, 31 Oct 2018 08:52:24 +0000 (10:52 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Nov 2018 16:04:27 +0000 (18:04 +0200)
commitdc57731dbd535880fe6ced31c229262c34df7d64
treed90dd18798b94bd6288db235fa0841dbef79389f
parent6470f31927b46846d957628b719dcfda05446664
wil6210: fix locking in wmi_call

Switch from spin_lock to spin_lock_irqsave, because
wmi_ev_lock is used inside interrupt handler.

Signed-off-by: Lior David <liord@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/wmi.c