wifi: ath11k: Really consistently use ath11k_vif_to_arvif()
authorJeff Johnson <quic_jjohnson@quicinc.com>
Mon, 5 Feb 2024 16:16:18 +0000 (08:16 -0800)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 7 Feb 2024 15:07:45 +0000 (17:07 +0200)
commitd7a5c7cde2cb6b5d83e1c95892d6bc4650c0a3a2
treebb24d7b5a3da4ed2d5226ac64ef779db52666f05
parente65a6398657561831b8a1a5aa3ec43ff24c428f2
wifi: ath11k: Really consistently use ath11k_vif_to_arvif()

Commit 9476cda44c13 ("wifi: ath11k: Consistently use ath11k_vif_to_arvif()")
previously replaced all open coding of the ath11k_vif_to_arvif()
functionality. Subsequently two more instances of open coding were
introduced, one in commit 92425f788fee ("wifi: ath11k: fill parameters for
vdev set tpc power WMI command") and one in commit 6f4e235be655 ("wifi:
ath11k: add parse of transmit power envelope element"), so fix those as
well.

No functional changes, compile tested only.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240205-ath11k_vif_to_arvif-v1-1-7c41313c8318@quicinc.com
drivers/net/wireless/ath/ath11k/mac.c