qcacmn: Adding memory not allocate debug print

Adding memory not allocate debug print when fail to allocate
memory for scan node

Change-Id: I77c9a3deeb9fff9fd265188060ff3aa3aa17b866
CRs-Fixed: 3611905
This commit is contained in:
Guru Pratap Sharma
2023-09-11 23:21:12 -07:00
committed by Rahul Choudhary
vanhempi 7b3fb7fb8b
commit d383bdce33

Näytä tiedosto

@@ -2586,6 +2586,7 @@ util_scan_gen_scan_entry(struct wlan_objmgr_pdev *pdev,
if (!scan_node) {
qdf_mem_free(scan_entry->raw_frame.ptr);
qdf_mem_free(scan_entry);
scm_err("failed to allocate memory for scan_node");
return QDF_STATUS_E_FAILURE;
}