qcacmn: Add check for mem debug disabled in qdf_frag_debug_update_addr
Check for is_initial_mem_debug_disabled is missing in API qdf_frag_debug_update_addr API. Add check for is_initial_mem_debug_disabled so as to return without proceeding further when is_initial_mem_debug_disabled is set to true. Change-Id: Ie6251e70d2c01302121ff1c63ecf438f626de706 CRs-Fixed: 2780110
This commit is contained in:

committed by
snandini

parent
1f7706356f
commit
0ee6465661
@@ -698,6 +698,9 @@ void qdf_frag_debug_update_addr(qdf_frag_t p_fragp, qdf_frag_t n_fragp,
|
||||
uint32_t prev_index, new_index;
|
||||
QDF_FRAG_TRACK *p_node;
|
||||
|
||||
if (is_initial_mem_debug_disabled)
|
||||
return;
|
||||
|
||||
prev_index = qdf_frag_debug_hash(p_fragp);
|
||||
|
||||
new_index = qdf_frag_debug_hash(n_fragp);
|
||||
|
Reference in New Issue
Block a user