qcacmn: Fix compilation issues for FW header abstraction

fwhdr_abstrct: Fix compilation issues for WIN firmware header abstraction.

Change-Id: Id76a6f29fd41ae559cf377029428224d59bd03fb
CRs-Fixed: 2140921
This commit is contained in:
Pratik Gandhi
2018-02-05 17:22:41 +05:30
committed by nshrivas
orang tua 2f54de20b0
melakukan 7846150f2b
12 mengubah file dengan 54 tambahan dan 7 penghapusan

Melihat File

@@ -54,6 +54,13 @@ ATH_DEBUG_INSTANTIATE_MODULE_VAR(htc,
#endif
#if (defined(CONFIG_MCL) || (QCA_WIFI_QCA8074))
static const uint32_t svc_id[] = {WMI_CONTROL_SVC, WMI_CONTROL_SVC_WMAC1,
WMI_CONTROL_SVC_WMAC2};
#else
static const uint32_t svc_id[] = {WMI_CONTROL_SVC};
#endif
extern unsigned int htc_credit_flow;
static void reset_endpoint_states(HTC_TARGET *target);
@@ -471,8 +478,6 @@ A_STATUS htc_setup_target_buffer_assignments(HTC_TARGET *target)
pEntry, credits);
} else {
int i;
uint32_t svc_id[] = {WMI_CONTROL_SVC, WMI_CONTROL_SVC_WMAC1,
WMI_CONTROL_SVC_WMAC2};
uint32_t max_wmi_svc = (sizeof(svc_id) / sizeof(uint32_t));
if ((target->wmi_ep_count == 0) ||