ath11k: fix wmi service ready ext tlv parsing
authorAnilkumar Kolli <akolli@codeaurora.org>
Wed, 27 Nov 2019 16:29:50 +0000 (18:29 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 29 Nov 2019 07:35:04 +0000 (09:35 +0200)
commit5b90fc760db5a969ed26d70f8e62c91915f012bd
treec76e04c4897fcb62eac8107f3e0993e86c51b8ef
parent5e97128759b49b32740e1486007f239f2d7a9b8a
ath11k: fix wmi service ready ext tlv parsing

The current ath11k driver failed to parse
wmi_tlv_svc_rdy_ext_parse if there is change in
wmi_mac_phy_capabilities length with below error.

ath11k c000000.wifi1: failed to extract mac caps, idx :0
ath11k c000000.wifi1: failed to parse tlv -22

This is needed to get firmware version
WLAN.HK.2.0.0.1-00240-QCAHKSWPL_SILICONZ-1 working.

Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath11k/wmi.c
drivers/net/wireless/ath/ath11k/wmi.h