From 91c8fbfde4e2422097c44e3cc356f1f5709a0db7 Mon Sep 17 00:00:00 2001 From: Amar Singhal Date: Thu, 9 Jul 2020 10:14:10 -0700 Subject: [PATCH] qcacmn: Reduce the level of logs for reg-domain In regulatory offload case; customer may be using his own customized regdb. In that case, the host regdb can be different from firmware regdb. Therefore, reduce the log level. Change-Id: I165745bd5cb22fe95ae96f387db4d65e39f446ec CRs-Fixed: 2728587 --- umac/regulatory/core/src/reg_services_common.c | 2 +- umac/regulatory/core/src/reg_utils.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/umac/regulatory/core/src/reg_services_common.c b/umac/regulatory/core/src/reg_services_common.c index e51bc5229f7a..ba0a0d4de4bb 100644 --- a/umac/regulatory/core/src/reg_services_common.c +++ b/umac/regulatory/core/src/reg_services_common.c @@ -2168,7 +2168,7 @@ QDF_STATUS reg_get_curr_regdomain(struct wlan_objmgr_pdev *pdev, } if (index == num_reg_dmn) { - reg_err_rl("invalid regdomain"); + reg_debug_rl("invalid regdomain"); return QDF_STATUS_E_FAILURE; } diff --git a/umac/regulatory/core/src/reg_utils.c b/umac/regulatory/core/src/reg_utils.c index bb1a32a3e498..5db2727900d7 100644 --- a/umac/regulatory/core/src/reg_utils.c +++ b/umac/regulatory/core/src/reg_utils.c @@ -386,7 +386,7 @@ bool reg_is_etsi13_regdmn(struct wlan_objmgr_pdev *pdev) status = reg_get_curr_regdomain(pdev, &cur_reg_dmn); if (status != QDF_STATUS_SUCCESS) { - reg_err_rl("Failed to get reg domain"); + reg_debug_rl("Failed to get reg domain"); return false; }