qcacmn: Check wmi_service_thermal_mgmt for legacy wlan temperature

For legacy wlan chip, it uses wmi_service_thermal_mgmt to
announce its temperature capability.
Add wmi_service_thermal_mgmt checking to support legacy
wlan chip temperature as well.

Change-Id: I529e08780ba0c19a2953a36d821946958726ab7d
CRs-Fixed: 3413651
This commit is contained in:
Qun Zhang 2022-12-06 13:55:57 +08:00 committed by Madan Koyyalamudi
parent 9934d3513c
commit 021943de3d

View File

@ -237,7 +237,8 @@ static int init_deinit_service_ready_event_handler(ol_scn_t scn_handle,
wlan_psoc_nif_op_flag_set(psoc, WLAN_SOC_OP_VHT_INVALID_CAP);
}
if (wmi_service_enabled(wmi_handle, wmi_service_tt))
if (wmi_service_enabled(wmi_handle, wmi_service_tt) ||
wmi_service_enabled(wmi_handle, wmi_service_thermal_mgmt))
wlan_psoc_nif_fw_ext_cap_set(psoc, WLAN_SOC_CEXT_TT_SUPPORT);
if (wmi_service_enabled(wmi_handle, wmi_service_widebw_scan))