qcacmn: Define qdf_nbuf_alloc_simple() in all cases

Define qdf_nbuf_alloc_simple() NBUF debug support is
disabled at compile time

Change-Id: Ie5918d720d8fa861063c46786b01b0d2a644e52b
This commit is contained in:
Chaithanya Garrepalli
2022-02-02 19:05:59 +05:30
committed by Madan Koyyalamudi
父節點 bb366620fc
當前提交 7852711cd8

查看文件

@@ -1900,6 +1900,9 @@ qdf_net_buf_debug_update_unmap_node(qdf_nbuf_t net_buf,
}
/* Nbuf allocation rouines */
#define qdf_nbuf_alloc_simple(d, s) \
__qdf_nbuf_alloc_simple(d, s)
#define qdf_nbuf_alloc(osdev, size, reserve, align, prio) \
qdf_nbuf_alloc_fl(osdev, size, reserve, align, prio, \
__func__, __LINE__)