ath11k: explicitly cast wmi commands to their correct struct type
authorJohn Crispin <john@phrozen.org>
Thu, 5 Dec 2019 06:26:45 +0000 (07:26 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 19 Dec 2019 16:17:41 +0000 (18:17 +0200)
commit77ea8b455ca1d93221bad979a59271233ecb757e
treedb3367dabb3dfbd11e9dd4d5379ab39ae96a3edb
parent4315a74a482f86750a1e78ac536c5baeb05ff6b1
ath11k: explicitly cast wmi commands to their correct struct type

Three of the WMI command handlers were not casting to the right data type.
Lets make the code consistent with the other handlers.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath11k/wmi.c