qcacmn: Remove the 11d error log

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

Change-Id: If164c48bee2ba221cf05c47ca5e186541b798758
CRs-Fixed: 2231615
This commit is contained in:
Paul Zhang 2018-05-16 14:03:45 +08:00 • committed by nshrivas
commit 8e04fa7fce

View file

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