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
This commit is contained in:
Tiger Yu
2019-09-09 13:18:29 +08:00
committato da nshrivas
parent 71bf52b242
commit 720673fd7a

Vedi File

@@ -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