qcacmn: Reduce the debug level of scan err print

When the beacon frame is received by the DUT, util_scan_get_phymode_5g
gets invoked. In a highly noisy environment, malformed/incorrect
beacon frames is received and the content of vhtop->vht_op_chwidth
becomes invalid. Hence bad channel print floods the console since
it is under scm_err debug level (the default debug level of SCAN module
				 is ERROR).
Reduce the debug level of the print to scm_debug since it hits for
every in-correct beacon.

Change-Id: I92d99f8d69ac7f892f155f2043c60a4c0c2efa12
CRs-Fixed: 3313827
此提交包含在:
Priyadarshnee Srinivasan
2022-10-17 16:39:00 +05:30
提交者 Madan Koyyalamudi
父節點 d3119b83c7
當前提交 71b1f90eb3

查看文件

@@ -739,8 +739,8 @@ util_scan_get_phymode_5g(struct wlan_objmgr_pdev *pdev,
phymode = WLAN_PHYMODE_11AC_VHT80_80;
break;
default:
scm_err("bad channel: %d",
vhtop->vht_op_chwidth);
scm_debug("bad channel: %d",
vhtop->vht_op_chwidth);
phymode = WLAN_PHYMODE_11AC_VHT20;
break;
}