OSDN Git Service

wifi: ath11k: Disable Spectral scan upon removing interface
authorTamizh Chelvam Raja <quic_tamizhr@quicinc.com>
Tue, 28 Mar 2023 07:11:50 +0000 (12:41 +0530)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 17 Apr 2023 10:13:54 +0000 (13:13 +0300)
commit5c690db63b45c6c4c4932b13173af71df369dba5
treeb600a6b2a811ee1311c4839717e53709f3f8000a
parentb9235aef84929e5330cb87125a6baf1cf7988983
wifi: ath11k: Disable Spectral scan upon removing interface

Host might receive spectral events during interface
down sequence and this might create below errors.

failed to handle dma buf release event -22
failed to handle dma buf release event -22

Fix this by disabling spectral config during remove interface.

Tested-on: IPQ5018 hw1.0 AHB WLAN.HK.2.6.0.1-00861-QCAHKSWPL_SILICONZ-1

Signed-off-by: Tamizh Chelvam Raja <quic_tamizhr@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230328071150.29645-1-quic_tamizhr@quicinc.com
drivers/net/wireless/ath/ath11k/mac.c