]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: use link specific bss_conf as well in ath12k_mac_vif_cache_flush()
authorBaochen Qiang <quic_bqiang@quicinc.com>
Mon, 9 Dec 2024 02:41:46 +0000 (10:41 +0800)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Mon, 24 Feb 2025 16:01:14 +0000 (08:01 -0800)
commit11d963d44c77261d6a948f3745bbd678eef4b83b
treeda37e27642f5f89eaacddbf0e56a1420c117d965
parentaf1c6007a64e78b729eb5a8d149637a820077bee
wifi: ath12k: use link specific bss_conf as well in ath12k_mac_vif_cache_flush()

Commit 3952657848c0 ("wifi: ath12k: Use mac80211 vif's link_conf instead of
bss_conf") aims at, where applicable, replacing all usage of vif's bss_conf
with link specific bss_conff, but missed one instance in
ath12k_mac_vif_cache_flush(). This results in wrong configurations passed
to ath12k_mac_bss_info_changed() when the link in question is not the default
link.

Change to use the link specific bss_conf to fix this issue.

Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4

Fixes: 3952657848c0 ("wifi: ath12k: Use mac80211 vif's link_conf instead of bss_conf")
Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Link: https://patch.msgid.link/20241209024146.3282-1-quic_bqiang@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/mac.c