qcacmn: Add rate limiting to scm prints

Heavy print from scan module slowing down
frame processing and caused the scheduler
buffer to be full causing buffer full assert

Move scm_err to scm_err_rl which will add
print rate limiting

CRs-Fixed: 2313262
Change-Id: I4eebe7eeb0e52e0858eb064717a5ce457ac891e2
This commit is contained in:
phadiman
2018-09-17 14:54:09 +05:30
committato da nshrivas
parent 76eadf4265
commit 8a32229408

Vedi File

@@ -1416,7 +1416,7 @@ util_scan_parse_beacon_frame(struct wlan_objmgr_pdev *pdev,
frm_subtype, rx_param,
scan_list);
if (QDF_IS_STATUS_ERROR(status)) {
scm_err("Failed to create a scan entry");
scm_err_rl("Failed to create a scan entry");
}
return status;