From 6b92b4b6fdb688048e763ef6c1d43058dd3fb7f0 Mon Sep 17 00:00:00 2001 From: Deeksha Gupta Date: Thu, 22 Apr 2021 14:34:32 +0530 Subject: [PATCH] qcacmn: Avoid excessive kmsg log in target_spectral Sometimes firmware sends spectral events repeatedly with wrong vdev. This causes continuous error logs are written to kmsg. Replace info prints in target_if_consume_spectral_report_gen3() with debug level prints. Change-Id: I2ca4be7d0d13e841a6dbd4efbc02ecd2b12893f8 CRs-Fixed: 2926759 --- target_if/spectral/target_if_spectral_phyerr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target_if/spectral/target_if_spectral_phyerr.c b/target_if/spectral/target_if_spectral_phyerr.c index 96332a574b59..30e4e77d1137 100644 --- a/target_if/spectral/target_if_spectral_phyerr.c +++ b/target_if/spectral/target_if_spectral_phyerr.c @@ -1994,7 +1994,7 @@ target_if_consume_spectral_report_gen3( vdev = target_if_spectral_get_vdev(spectral, spectral_mode); if (!vdev) { - spectral_info("First vdev is NULL"); + spectral_debug("First vdev is NULL"); reset_160mhz_delivery_state_machine( spectral, spectral_mode); return -EPERM;