浏览代码

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
Chaithanya Garrepalli 3 年之前
父节点
当前提交
7852711cd8
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      qdf/inc/qdf_nbuf.h

+ 3 - 0
qdf/inc/qdf_nbuf.h

@@ -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__)