qcacmn: Fix the limitations in enabling memory debug on WIN
Copy the file name to a QDF local array, rather than using the pointer to file name, to avoid access to the invalid pointer. Also, separate out SKB debug from memory debug. SKB debug will be enabled once the SKB related false positives are fixed. CRs-Fixed: 2216661 Change-Id: I0ada1acb84c24c961cf614c9c47261f272959874
This commit is contained in:

committed by
nshrivas

parent
0ae28067cb
commit
792933748b
@@ -1216,7 +1216,7 @@ qdf_export_symbol(wmi_mgmt_cmd_record);
|
||||
int wmi_get_host_credits(wmi_unified_t wmi_handle);
|
||||
/* WMI buffer APIs */
|
||||
|
||||
#ifdef MEMORY_DEBUG
|
||||
#ifdef NBUF_MEMORY_DEBUG
|
||||
wmi_buf_t
|
||||
wmi_buf_alloc_debug(wmi_unified_t wmi_handle, uint16_t len, uint8_t *file_name,
|
||||
uint32_t line_num)
|
||||
|
Reference in New Issue
Block a user