From 8e04fa7fcea4eb0bbb2b91960e46a6e8aa1cc390 Mon Sep 17 00:00:00 2001 From: Paul Zhang Date: Wed, 16 May 2018 14:03:45 +0800 Subject: [PATCH] qcacmn: Remove the 11d error log The unnecessary and iterative log may cause unexpected issue. So remove it. Change-Id: If164c48bee2ba221cf05c47ca5e186541b798758 CRs-Fixed: 2231615 --- umac/scan/core/src/wlan_scan_11d.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/umac/scan/core/src/wlan_scan_11d.c b/umac/scan/core/src/wlan_scan_11d.c index ecaba12959fb..3497be263418 100644 --- a/umac/scan/core/src/wlan_scan_11d.c +++ b/umac/scan/core/src/wlan_scan_11d.c @@ -326,10 +326,8 @@ void scm_11d_decide_country_code(struct wlan_objmgr_vdev *vdev) struct wlan_objmgr_pdev *pdev = wlan_vdev_get_pdev(vdev); struct wlan_objmgr_psoc *psoc = wlan_pdev_get_psoc(pdev); - if (!wlan_reg_11d_enabled_on_host(psoc)) { - scm_err("11d is not enabled"); + if (!wlan_reg_11d_enabled_on_host(psoc)) return; - } if (SOURCE_UNKNOWN == ucfg_reg_get_cc_and_src(psoc, current_cc)) { scm_err("fail to get current country code");