mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
qcacmn: Fix host panic due to missing WMI service handles
WMI service handle is not attached for all Pdev with recent WMI changes. Fix host panic due to missing WMI service handles for all Pdev. Change-Id: Ic6107120ea4a49e49b86ebbfe385e440de3f49a9
This commit is contained in:
parent
f9efb3d998
commit
7b5130c6ce
1 changed files with 2 additions and 1 deletions
|
|
@ -2034,11 +2034,13 @@ 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,
|
||||
struct wmi_unified *wmi_handle)
|
||||
{
|
||||
wmi_handle->services = soc->services;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
@ -2147,7 +2149,6 @@ 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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue