qcacld-3.0: Use CDS PKT_TRACE macro CDS_PKT_TRAC_TYPE_MGMT_ACTION

Fix build error, missing definition of NBUF_PKT_TRAC_TYPE_MGMT_ACTION.
Use CDS macro.

Change-Id: I65a169397236177c92b1980397794f6364ad24cb
CRs-Fixed: 1005069
This commit is contained in:
Manjunathappa Prakash
2016-04-22 11:23:33 -07:00
committed by Gerrit - the friendly Code Review server
parent 52ec669089
commit 8b39d2eece

View File

@@ -2633,8 +2633,8 @@ QDF_STATUS wma_tx_packet(void *wma_context, void *tx_frame, uint16_t frmLen,
if (pFc->subType == SIR_MAC_MGMT_ACTION) if (pFc->subType == SIR_MAC_MGMT_ACTION)
proto_type = cds_pkt_get_proto_type(tx_frame, proto_type = cds_pkt_get_proto_type(tx_frame,
pMac->fEnableDebugLog, pMac->fEnableDebugLog,
NBUF_PKT_TRAC_TYPE_MGMT_ACTION); CDS_PKT_TRAC_TYPE_MGMT_ACTION);
if (proto_type & NBUF_PKT_TRAC_TYPE_MGMT_ACTION) if (proto_type & CDS_PKT_TRAC_TYPE_MGMT_ACTION)
cds_pkt_trace_buf_update("WM:T:MACT"); cds_pkt_trace_buf_update("WM:T:MACT");
qdf_nbuf_trace_set_proto_type(tx_frame, proto_type); qdf_nbuf_trace_set_proto_type(tx_frame, proto_type);
#endif /* QCA_PKT_PROTO_TRACE */ #endif /* QCA_PKT_PROTO_TRACE */