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
This commit is contained in:

committed by
Madan Koyyalamudi

parent
d3119b83c7
commit
71b1f90eb3
@@ -739,8 +739,8 @@ util_scan_get_phymode_5g(struct wlan_objmgr_pdev *pdev,
|
|||||||
phymode = WLAN_PHYMODE_11AC_VHT80_80;
|
phymode = WLAN_PHYMODE_11AC_VHT80_80;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
scm_err("bad channel: %d",
|
scm_debug("bad channel: %d",
|
||||||
vhtop->vht_op_chwidth);
|
vhtop->vht_op_chwidth);
|
||||||
phymode = WLAN_PHYMODE_11AC_VHT20;
|
phymode = WLAN_PHYMODE_11AC_VHT20;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user