]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: convert struct ath12k_sta::update_wk to use struct wiphy_work
authorKalle Valo <quic_kvalo@quicinc.com>
Mon, 7 Oct 2024 16:59:28 +0000 (19:59 +0300)
committerJeff Johnson <quic_jjohnson@quicinc.com>
Fri, 11 Oct 2024 14:21:54 +0000 (07:21 -0700)
commit58550cdda961dedad8ed08c5abf8367d5c020fb6
treeef83d82ded21d867b06022a4b1a09c0e6c6881c2
parent8fac3266c68a8e647240b8ac8d0b82f1821edf85
wifi: ath12k: convert struct ath12k_sta::update_wk to use struct wiphy_work

For preparation to switch ath12k to use wiphy_lock() we can convert
ath12k_sta_rc_update_wk() to use wiphy_work_queue() for consistency. To avoid
any deadlocks do the struct ath12k_sta::update_wk conversion before switching
to using wiphy_lock() throughout the driver.

Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://patch.msgid.link/20241007165932.78081-3-kvalo@kernel.org
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
drivers/net/wireless/ath/ath12k/core.h
drivers/net/wireless/ath/ath12k/mac.c