Browse Source

qcacmn: Remove the 11d error log

The unnecessary and iterative log may cause unexpected
issue. So remove it.

Change-Id: If164c48bee2ba221cf05c47ca5e186541b798758
CRs-Fixed: 2231615
Paul Zhang 6 years ago
parent
commit
8e04fa7fce
1 changed files with 1 additions and 3 deletions
  1. 1 3
      umac/scan/core/src/wlan_scan_11d.c

+ 1 - 3
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");