qcacmn: Use module level logging in Spectral

Current Spectral module uses qdf_print. To improve the control over
logging, use module level logging

CRs-Fixed: 2165341
Change-Id: I205991347453c4dcc424ba1958e309b7c5fb71a0
This commit is contained in:
Shiva Krishna Pittala
2017-12-18 16:39:20 +05:30
committed by snandini
parent 72bbf17531
commit 71155a3e48
17 changed files with 379 additions and 541 deletions

View File

@@ -21,6 +21,7 @@
#include <wlan_spectral_utils_api.h>
#include <qdf_types.h>
#include<wlan_global_lmac_if_api.h>
#include "spectral_defs_i.h"
MODULE_LICENSE("Dual BSD/GPL");
@@ -32,7 +33,7 @@ MODULE_LICENSE("Dual BSD/GPL");
static int __init
spectral_init_module(void)
{
qdf_print("qca_spectral module loaded\n");
spectral_info("qca_spectral module loaded");
wlan_spectral_init();
/* register spectral rxops */
wlan_lmac_if_sptrl_set_rx_ops_register_cb
@@ -49,7 +50,7 @@ static void __exit
spectral_exit_module(void)
{
wlan_spectral_deinit();
qdf_print("qca_spectral module unloaded\n");
spectral_info("qca_spectral module unloaded");
}
module_init(spectral_init_module);