From 720673fd7a6f88f996bc934356b9e07ba68dc7c4 Mon Sep 17 00:00:00 2001 From: Tiger Yu Date: Mon, 9 Sep 2019 13:18:29 +0800 Subject: [PATCH] qcacmn: Fix the regression issue for pktlog failure with ROME module The pktlog will fail with ROME module due to the change IDs: I24776caa3b78ec38d94421f243ec72d81ee3102d Ifb70ac0993f2402201f88758845f730cf677b1a0 Define new macro PKTLOG_LEGACY for HELIUM/ROME to avoid the ROME PKTLOG failure. Change-Id: Ibaa20b7af208a261e0fd8682de45ad8eb4a69212 CRs-Fixed: 2523511 --- utils/pktlog/pktlog_ac.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/pktlog/pktlog_ac.c b/utils/pktlog/pktlog_ac.c index a15fcdfbab..d3545178f0 100644 --- a/utils/pktlog/pktlog_ac.c +++ b/utils/pktlog/pktlog_ac.c @@ -162,7 +162,7 @@ pktlog_enable_tgt(struct hif_opaque_softc *_scn, uint32_t log_state, ini_triggered, user_triggered); } -#ifdef HELIUMPLUS +#ifdef PKTLOG_LEGACY /** * wdi_pktlog_subscribe() - Subscribe pktlog callbacks * @cdp_pdev: abstract pdev handle @@ -399,7 +399,7 @@ lit_pktlog_callback(void *context, enum WDI_EVENT event, void *log_data, } } -#ifdef HELIUMPLUS +#ifdef PKTLOG_LEGACY /** * wdi_pktlog_unsubscribe() - Unsubscribe pktlog callbacks * @cdp_pdev: abstract pdev handle @@ -557,7 +557,7 @@ int pktlog_disable(struct hif_opaque_softc *scn) return 0; } -#ifdef HELIUMPLUS +#ifdef PKTLOG_LEGACY /** * pktlog_callback_registration() - Register pktlog handlers based on * on callback type