qcacmn: Modify logs for QDF_MODULE_ID_CDP

Use macros like dp_cdp_debug, dp_cdp_err, dp_cdp_info to
print logs for QDF_MODULE_ID_CDP

Change-Id: I550eefa82c3417b8bf83378d4a9c6f382098fea6
CRs-Fixed: 2855937
This commit is contained in:
Himanshu Batra
2021-01-12 11:36:06 +05:30
committed by snandini
parent d369bcd5f8
commit ec2e7778ea
20 changed files with 317 additions and 532 deletions

View File

@@ -26,6 +26,7 @@
#include "cdp_txrx_handle.h"
#include "cdp_txrx_ops.h"
#include <cdp_txrx_cmn.h>
/**
* @brief finds the ast entry for the packet
@@ -46,8 +47,7 @@ cdp_rawsim_get_astentry(ol_txrx_soc_handle soc, uint8_t vdev_id,
{
if (!soc || !soc->ops) {
QDF_TRACE(QDF_MODULE_ID_CDP, QDF_TRACE_LEVEL_DEBUG,
"%s: Invalid Instance", __func__);
dp_cdp_debug("Invalid Instance");
QDF_BUG(0);
return QDF_STATUS_E_FAILURE;
}