From fe2f35ad2e8220028816bfa1a704d0a06b2ee8ee Mon Sep 17 00:00:00 2001 From: Aditya Kodukula Date: Fri, 3 Mar 2023 16:00:36 -0800 Subject: [PATCH] qcacld-3.0: Log ini config info to host_driver_log In the driver, the debugfs replacement command for getConfig WEXT command logs ini configuration into a separate file only but doesn't log into the wlan host_driver_logs file. So, fix this by logging ini configuration to wlan host_driver_logs. Change-Id: I134847a7b498defbcdd58b575fb775b2d0ef3070 CRs-Fixed: 3424575 --- core/hdd/src/wlan_hdd_debugfs_config.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/hdd/src/wlan_hdd_debugfs_config.c b/core/hdd/src/wlan_hdd_debugfs_config.c index 2e57b0db68..292c95b1c0 100644 --- a/core/hdd/src/wlan_hdd_debugfs_config.c +++ b/core/hdd/src/wlan_hdd_debugfs_config.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2019 The Linux Foundation. All rights reserved. + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -160,6 +161,8 @@ static int __wlan_hdd_open_config_debugfs(struct inode *inode, return -ENOMEM; ini_config = (struct ini_config_buf *)buf; + hdd_nofl_debug("WLAN configuration written to debug log"); + ucfg_cfg_store_print(hdd_ctx->psoc); errno = wlan_hdd_config_get(hdd_ctx, ini_config); if (errno) { qdf_mem_free(buf);