Skip to content
Commit ef9cc0c4 authored by Claire Chang's avatar Claire Chang Committed by Kalle Valo
Browse files

ath10k: acquire lock to fix lockdep's warning



Lockdep warns at lockdep_assert_held(&ar->data_lock) in
ath10k_htt_rx_pn_check_replay_hl(). Acquire ar->data_lock before calling
ath10k_htt_rx_pn_check_replay_hl() to fix it.

Call trace:
ath10k_htt_rx_pn_check_replay_hl+0x118/0x134 [ath10k_core]
ath10k_htt_rx_proc_rx_ind_hl+0xd8/0x250 [ath10k_core]
ath10k_htt_t2h_msg_handler+0x148/0xf30 [ath10k_core]
ath10k_htt_htc_t2h_msg_handler+0x24/0x40 [ath10k_core]
ath10k_sdio_irq_handler+0x374/0xaa4 [ath10k_sdio]

Fixes: 130c7749 ("ath10k: add PN replay protection for high latency devices")
Signed-off-by: default avatarClaire Chang <tientzu@chromium.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 54f6643b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment