qcacmn: Prevent rate stats from printing in kmsg
Do not print rate statistics on the console or kernel logs. Excessive logging in kernel messages can lead to kernel panic. Change DP_PRINT_STATS to not print in kernel logs. Note that this is an interim solution. Ideally these prints from DP module should be QDF_TRACE_LEVEL_DEBUG and logged to QXDM. Currently DEBUG trace level is disabled for DP module. Change-Id: I54af98eda0dd4ea53ae20f25ced6b03287d8b4e4 CRs-Fixed: 2414635
This commit is contained in:
@@ -8660,9 +8660,8 @@ QDF_STATUS dp_txrx_stats_request(struct cdp_vdev *vdev,
|
||||
fw_stats = dp_stats_mapping_table[stats][STATS_FW];
|
||||
host_stats = dp_stats_mapping_table[stats][STATS_HOST];
|
||||
|
||||
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO,
|
||||
"stats: %u fw_stats_type: %d host_stats: %d",
|
||||
stats, fw_stats, host_stats);
|
||||
dp_info("stats: %u fw_stats_type: %d host_stats: %d",
|
||||
stats, fw_stats, host_stats);
|
||||
|
||||
if (fw_stats != TXRX_FW_STATS_INVALID) {
|
||||
/* update request with FW stats type */
|
||||
|
Reference in New Issue
Block a user