Selaa lähdekoodia

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
Manjunathappa Prakash 9 vuotta sitten
vanhempi
sitoutus
8b39d2eece
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      core/wma/src/wma_data.c

+ 2 - 2
core/wma/src/wma_data.c

@@ -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)
 				proto_type = cds_pkt_get_proto_type(tx_frame,
 						pMac->fEnableDebugLog,
-						NBUF_PKT_TRAC_TYPE_MGMT_ACTION);
-			if (proto_type & NBUF_PKT_TRAC_TYPE_MGMT_ACTION)
+						CDS_PKT_TRAC_TYPE_MGMT_ACTION);
+			if (proto_type & CDS_PKT_TRAC_TYPE_MGMT_ACTION)
 				cds_pkt_trace_buf_update("WM:T:MACT");
 			qdf_nbuf_trace_set_proto_type(tx_frame, proto_type);
 #endif /* QCA_PKT_PROTO_TRACE */