Quellcode durchsuchen

qcacld-3.0: Enable qdf_slist

Enable the recently added type, qdf_slist, added in
I2959f34649a0d8e0b312d9d67c81de17753b9b6c.

Change-Id: I64ab3de7322846d2084f4f4bea01ab69bff52b32
CRs-Fixed: 2418502
Dustin Brown vor 6 Jahren
Ursprung
Commit
128e2d03bd
2 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 2 0
      Kbuild
  2. 2 0
      core/hdd/src/wlan_hdd_wext.c

+ 2 - 0
Kbuild

@@ -598,6 +598,7 @@ ifeq ($(CONFIG_QDF_TEST), y)
 	QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_delayed_work_test.o
 	QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_hashtable_test.o
 	QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_periodic_work_test.o
+	QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_slist_test.o
 	QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_talloc_test.o
 	QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_types_test.o
 endif
@@ -606,6 +607,7 @@ cppflags-$(CONFIG_TALLOC_DEBUG) += -DWLAN_TALLOC_DEBUG
 cppflags-$(CONFIG_QDF_TEST) += -DWLAN_DELAYED_WORK_TEST
 cppflags-$(CONFIG_QDF_TEST) += -DWLAN_HASHTABLE_TEST
 cppflags-$(CONFIG_QDF_TEST) += -DWLAN_PERIODIC_WORK_TEST
+cppflags-$(CONFIG_QDF_TEST) += -DWLAN_SLIST_TEST
 cppflags-$(CONFIG_QDF_TEST) += -DWLAN_TALLOC_TEST
 cppflags-$(CONFIG_QDF_TEST) += -DWLAN_TYPES_TEST
 

+ 2 - 0
core/hdd/src/wlan_hdd_wext.c

@@ -70,6 +70,7 @@
 #include "qdf_delayed_work_test.h"
 #include "qdf_hashtable_test.h"
 #include "qdf_periodic_work_test.h"
+#include "qdf_slist_test.h"
 #include "qdf_talloc_test.h"
 #include "qdf_str.h"
 #include "qdf_trace.h"
@@ -5867,6 +5868,7 @@ struct hdd_ut_entry hdd_ut_entries[] = {
 	{ .name = "qdf_ht", .callback = qdf_ht_unit_test },
 	{ .name = "qdf_periodic_work",
 	  .callback = qdf_periodic_work_unit_test },
+	{ .name = "qdf_slist", .callback = qdf_slist_unit_test },
 	{ .name = "qdf_talloc", .callback = qdf_talloc_unit_test },
 	{ .name = "qdf_types", .callback = qdf_types_unit_test },
 };