瀏覽代碼

qcacld-3.0: remove prefix name for driver dump dir

Currently the driver dump directory is getting created by appending
the chipset name, but wifihal is trying to read the driverdump
file from debugdriver directory. Fix the issue that not append
the chipset name in the driver dump dir.

Change-Id: Ie0c9685ead33ce9aa8a93883bb9103f2c7a29f49
CRs-Fixed: 3317622
Zhaoyang Liu 2 年之前
父節點
當前提交
8e68427efd
共有 1 個文件被更改,包括 1 次插入9 次删除
  1. 1 9
      core/hdd/src/wlan_hdd_memdump.c

+ 1 - 9
core/hdd/src/wlan_hdd_memdump.c

@@ -33,15 +33,7 @@
 #include <sme_api.h>
 #include <wlan_hdd_includes.h>
 
-#if defined(DYNAMIC_SINGLE_CHIP)
-#define PREFIX DYNAMIC_SINGLE_CHIP "_"
-#elif defined(MULTI_IF_NAME)
-#define PREFIX MULTI_IF_NAME "_"
-#else
-#define PREFIX ""
-#endif
-
-#define PROCFS_DRIVER_DUMP_DIR PREFIX "debugdriver"
+#define PROCFS_DRIVER_DUMP_DIR "debugdriver"
 #define PROCFS_DRIVER_DUMP_NAME "driverdump"
 #define PROCFS_DRIVER_DUMP_PERM 0444