qcacmn: Converge on wmi service/ext service is enable

Converge on wmi service/ext service is enable

Change-Id: Ib246befa72cce927bee157394cd22c7d1562d341
CRs-Fixed: 2152751
This commit is contained in:
Sourav Mohapatra
2017-12-03 11:44:44 +05:30
zatwierdzone przez snandini
rodzic 94c7ce6864
commit a7b454df56
3 zmienionych plików z 11 dodań i 15 usunięć

Wyświetl plik

@@ -2034,7 +2034,6 @@ static inline void wmi_target_params_init(struct wmi_soc *soc,
{
wmi_handle->pdev_param = soc->pdev_param;
wmi_handle->vdev_param = soc->vdev_param;
wmi_handle->services = soc->services;
}
#else
static inline void wmi_target_params_init(struct wmi_soc *soc,
@@ -2148,6 +2147,7 @@ void *wmi_unified_attach(void *scn_handle,
wmi_handle->ctx = soc->ctx;
wmi_handle->wmi_events = soc->wmi_events;
wmi_target_params_init(soc, wmi_handle);
wmi_handle->services = soc->services;
wmi_handle->scn_handle = scn_handle;
soc->scn_handle = scn_handle;
qdf_atomic_init(&wmi_handle->pending_cmds);