]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: remove warning print in htt mlo offset event message
authorAditya Kumar Singh <quic_adisi@quicinc.com>
Wed, 11 Dec 2024 15:43:55 +0000 (17:43 +0200)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Mon, 16 Dec 2024 20:46:58 +0000 (12:46 -0800)
commit2c737079493d79ac340cb2b1b14c1a49645cdf61
tree8f88bc25eb2b8fb870a75dfd1d5324731aff2da7
parent77478788c957d1d41462890f187c71f8babbd093
wifi: ath12k: remove warning print in htt mlo offset event message

In the function ath12k_htt_mlo_offset_event_handler(), it is possible that
the ar is not yet active (started). The function
ath12k_mac_get_ar_by_pdev_id() only searches for active pdev, so a NULL
return is possible. Therefore, there is no need to print a warning,
instead, just silently discard the message.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://patch.msgid.link/20241211154358.776279-5-kvalo@kernel.org
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/dp_rx.c