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
8a4564f221
commit
b155431361
@@ -196,7 +196,7 @@ wmi_unified_remove_work(struct wmi_unified *wmi_handle);
|
||||
* @param len : length of the buffer
|
||||
* @return wmi_buf_t.
|
||||
*/
|
||||
#ifdef MEMORY_DEBUG
|
||||
#ifdef NBUF_MEMORY_DEBUG
|
||||
#define wmi_buf_alloc(h, l) wmi_buf_alloc_debug(h, l, __FILE__, __LINE__)
|
||||
wmi_buf_t
|
||||
wmi_buf_alloc_debug(wmi_unified_t wmi_handle, uint16_t len,
|
||||
|
Reference in New Issue
Block a user