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
This commit is contained in:
Aditya Kodukula
2023-03-03 16:00:36 -08:00
committed by Madan Koyyalamudi
parent f442688267
commit fe2f35ad2e

View File

@@ -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);