]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: skip sending vdev down for channel switch
authorWen Gong <quic_wgong@quicinc.com>
Mon, 22 Nov 2021 11:13:58 +0000 (13:13 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 22 Nov 2021 14:34:25 +0000 (16:34 +0200)
commit77a9f0c3dd2820cb74fb83e38e5e20f1079dab6d
tree1fd49e74030b48ed910b56be66965c78282cd44d
parent30f1dacc67b7ad9f0bffd2ce86d56145d1c9e738
ath11k: skip sending vdev down for channel switch

The ath11k driver currently sends vdev down to the firmware before
updating the channel context, which is followed by a vdev restart
command.

Sending vdev down is not required before sending a vdev restart,
because the firmware internally does vdev down when ath11k sends
a vdev restart command.

Firmware will happen crash while channel switch without this change.

Hence skip the vdev down command sending when updating the channel
context and then fix the firmware crash issue.

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1

Signed-off-by: Wen Gong <quic_wgong@quicinc.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211118095901.8271-1-quic_wgong@quicinc.com
drivers/net/wireless/ath/ath11k/mac.c