From e555e2d15c433ef8d99df17e307e92bed036b228 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Mon, 17 Sep 2018 11:52:37 -0700 Subject: [PATCH] qcacld-3.0: Remove timer debug and memory debug string Remove timer debug and memory debug string from hdd_module_init since g_wlan_driver_version already has timer and memory debug string levels. Change-Id: I8ef9f43d971df18b5184d76c5a3f4628feb8d12d CRs-Fixed: 2316929 --- core/hdd/src/wlan_hdd_main.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 5c8915272fa5..d1af2152f74b 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -393,9 +393,9 @@ void wlan_hdd_txrx_pause_cb(uint8_t vdev_id, * post processing */ #ifdef BUILD_TAG -uint8_t g_wlan_driver_version[] = QWLAN_VERSIONSTR TIMER_MANAGER_STR MEMORY_DEBUG_STR "; " BUILD_TAG; +uint8_t g_wlan_driver_version[] = QWLAN_VERSIONSTR TIMER_MANAGER_STR MEMORY_DEBUG_STR PANIC_ON_BUG_STR "; " BUILD_TAG; #else -uint8_t g_wlan_driver_version[] = QWLAN_VERSIONSTR TIMER_MANAGER_STR MEMORY_DEBUG_STR; +uint8_t g_wlan_driver_version[] = QWLAN_VERSIONSTR TIMER_MANAGER_STR MEMORY_DEBUG_STR PANIC_ON_BUG_STR; #endif /** @@ -12697,10 +12697,9 @@ static int hdd_driver_load(void) QDF_STATUS status; int errno; - pr_err("%s: Loading driver v%s (%s)\n", + pr_err("%s: Loading driver v%s\n", WLAN_MODULE_NAME, - g_wlan_driver_version, - TIMER_MANAGER_STR MEMORY_DEBUG_STR PANIC_ON_BUG_STR); + g_wlan_driver_version); errno = pld_init(); if (errno) {