Browse Source

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 years ago
parent
commit
8e68427efd
1 changed files with 1 additions and 9 deletions
  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