qcacmn: Remove freed DP structures from minidump
Remove entries previously added to minidump during data-path detach. Change-Id: Ib69803e8ea58e5b4e0f045d3037730a5b6700c8d
This commit is contained in:

committed by
nshrivas

parent
af64fd1868
commit
a46da42b53
@@ -300,7 +300,7 @@ void *hal_attach(void *hif_handle, qdf_device_t qdf_dev)
|
||||
"%s: hal_soc allocation failed", __func__);
|
||||
goto fail0;
|
||||
}
|
||||
qdf_minidump_log((void *)hal, sizeof(*hal), "hal_soc");
|
||||
qdf_minidump_log(hal, sizeof(*hal), "hal_soc");
|
||||
hal->hif_handle = hif_handle;
|
||||
hal->dev_base_addr = hif_get_dev_ba(hif_handle);
|
||||
hal->qdf_dev = qdf_dev;
|
||||
@@ -393,6 +393,7 @@ extern void hal_detach(void *hal_soc)
|
||||
qdf_mem_free_consistent(hal->qdf_dev, hal->qdf_dev->dev,
|
||||
sizeof(*(hal->shadow_wrptr_mem_vaddr)) * HAL_MAX_LMAC_RINGS,
|
||||
hal->shadow_wrptr_mem_vaddr, hal->shadow_wrptr_mem_paddr, 0);
|
||||
qdf_minidump_remove(hal);
|
||||
qdf_mem_free(hal);
|
||||
|
||||
return;
|
||||
|
Reference in New Issue
Block a user