Browse Source

cnss2: change log_level to avoid flooding of Dmesg

Due to SPF, multiple drivers are supported and are loaded
run time. It is expected for one driver to fail to load,
however the failing driver should not flood the dmesg.
So add code to change log level of debug message in
cnss_wlan_register_driver api to avoid flooding of
kernel logs when ipci driver is loaded.

Change-Id: I281ff2424daf2e8d85502cb9b11a392e049cd45d
Mohammed Siddiq 2 years ago
parent
commit
4ba2be4db0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cnss2/pci.c

+ 1 - 1
cnss2/pci.c

@@ -2845,7 +2845,7 @@ int cnss_wlan_register_driver(struct cnss_wlan_driver *driver_ops)
 	unsigned int timeout;
 
 	if (!plat_priv) {
-		cnss_pr_info("plat_priv is not ready for register driver\n");
+		cnss_pr_buf("plat_priv is not ready for register driver\n");
 		return -EAGAIN;
 	}