summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath11k
diff options
context:
space:
mode:
authorJeff Johnson <quic_jjohnson@quicinc.com>2023-10-09 10:13:54 +0300
committerKalle Valo <quic_kvalo@quicinc.com>2023-10-10 10:25:11 +0300
commit13556aef0bdc0e98df7b6bf2e10d706c59dce6f4 (patch)
tree83fe5488377130bac045c2384f74b1baf98e2490 /drivers/net/wireless/ath/ath11k
parente149353e6562f3e3246f75dfc4cca6a0cc5b4efc (diff)
downloadlinux-13556aef0bdc0e98df7b6bf2e10d706c59dce6f4.tar.xz
wifi: ath12k: Consistently use ath12k_vif_to_arvif()
Helper function ath12k_vif_to_arvif() exists to retrieve a struct ath12k_vif from a struct ieee80211_vif. However, in multiple places this logic is open-coded with inline typecasting. Since the typecasting prevents the compiler from type-checking the source and destination, update the driver to consistently use the helper function. 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://lore.kernel.org/r/20231004-ath12k_vif_to_arvif-v1-1-3f38f6882d33@quicinc.com
Diffstat (limited to 'drivers/net/wireless/ath/ath11k')
0 files changed, 0 insertions, 0 deletions