qcacmn: Replace printk with qdf_nofl_info
Replace printk with qdf_nofl_info in qdf folder. So if we wish to change from printing on console to other location, based on a logging daemon, we can do that by only changing at the implementation of QDF print API's Change-Id: I6db67cee416ebbe0f2c51b2d4dbf2b3a335e972a CRs-Fixed: 2442689
This commit is contained in:
@@ -116,7 +116,7 @@ void pktlog_getbuf_intsafe(struct ath_pktlog_arg *plarg)
|
||||
#endif
|
||||
|
||||
if (!plarg) {
|
||||
printk("Invalid parg in %s\n", __func__);
|
||||
qdf_nofl_info("Invalid parg in %s", __func__);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@ void pktlog_getbuf_intsafe(struct ath_pktlog_arg *plarg)
|
||||
flags = plarg->flags;
|
||||
|
||||
if (!log_buf) {
|
||||
printk("Invalid log_buf in %s\n", __func__);
|
||||
qdf_nofl_info("Invalid log_buf in %s", __func__);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -409,7 +409,7 @@ A_STATUS process_tx_info(struct cdp_pdev *txrx_pdev, void *data)
|
||||
uint32_t len;
|
||||
|
||||
if (!txrx_pdev) {
|
||||
printk("Invalid pdev in %s\n", __func__);
|
||||
qdf_nofl_info("Invalid pdev in %s", __func__);
|
||||
return A_ERROR;
|
||||
}
|
||||
|
||||
@@ -619,8 +619,8 @@ A_STATUS process_tx_info(struct cdp_pdev *txrx_pdev, void *data)
|
||||
&pl_hdr);
|
||||
|
||||
if (!txctl_log.txdesc_hdr_ctl) {
|
||||
printk
|
||||
("failed to get buf for txctl_log.txdesc_hdr_ctl\n");
|
||||
qdf_nofl_info
|
||||
("failed to get txctl_log.txdesc_hdr_ctl buf");
|
||||
return A_ERROR;
|
||||
}
|
||||
|
||||
@@ -848,13 +848,13 @@ A_STATUS process_rx_info(void *pdev, void *data)
|
||||
uint32_t len;
|
||||
|
||||
if (!pdev) {
|
||||
printk("Invalid pdev in %s", __func__);
|
||||
qdf_nofl_info("Invalid pdev in %s", __func__);
|
||||
return A_ERROR;
|
||||
}
|
||||
|
||||
pl_dev = ((struct ol_txrx_pdev_t *)pdev)->pl_dev;
|
||||
if (!pl_dev) {
|
||||
printk("Invalid pl_dev in %s", __func__);
|
||||
qdf_nofl_info("Invalid pl_dev in %s", __func__);
|
||||
return A_ERROR;
|
||||
}
|
||||
|
||||
@@ -926,13 +926,13 @@ A_STATUS process_rx_info(void *pdev, void *data)
|
||||
uint32_t len;
|
||||
|
||||
if (!pdev) {
|
||||
printk("Invalid pdev in %s", __func__);
|
||||
qdf_nofl_info("Invalid pdev in %s", __func__);
|
||||
return A_ERROR;
|
||||
}
|
||||
|
||||
pl_dev = ((struct ol_txrx_pdev_t *)pdev)->pl_dev;
|
||||
if (!pl_dev) {
|
||||
printk("Invalid pl_dev in %s", __func__);
|
||||
qdf_nofl_info("Invalid pl_dev in %s", __func__);
|
||||
return A_ERROR;
|
||||
}
|
||||
|
||||
|
Viittaa uudesa ongelmassa
Block a user