]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: ath12k: Rename hw_link_id to radio_idx in ath12k_ah_to_ar()
authorRoopni Devanathan <roopni.devanathan@oss.qualcomm.com>
Tue, 31 Mar 2026 04:58:34 +0000 (10:28 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Wed, 8 Apr 2026 00:28:19 +0000 (17:28 -0700)
commitba563287beaa99c18144b2e39f63b89412abfd18
treec9956642f8e9b7bc292170397f9fa454e5940708
parentaa5e9884a2d63aa20fc3396d369382c1ecd16109
wifi: ath12k: Rename hw_link_id to radio_idx in ath12k_ah_to_ar()

ath12k_ah_to_ar() is returning radio from the given hardware based on the
radio index passed. But, the variable that radio index is received at is
wrongly named 'hw_link_id', which points to the hardware link index that
comes from the firmware. This affects readability.

Resolve this by renaming 'hw_link_id' to 'radio_idx'.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1

Signed-off-by: Roopni Devanathan <roopni.devanathan@oss.qualcomm.com>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Reviewed-by: Rameshkumar Sundaram <rameshkumar.sundaram@oss.qualcomm.com>
Link: https://patch.msgid.link/20260331045834.1181924-1-roopni.devanathan@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/core.h