qcacmn: Add protection for type_specific_data in ath_pktlog_hdr
The member of type_specific_data is not valid for ROME module. Add macro protection for type_specific_data in the ath_pktlog_hdr to avoid offset error when getting the msdu id info during processing pktlog TX info. Change-Id: Icb8b95cef9a32732116522e4fc3b39067ff36037 CRs-Fixed: 2518400
This commit is contained in:
@@ -48,7 +48,9 @@ struct ath_pktlog_arg {
|
||||
#endif
|
||||
size_t log_size;
|
||||
uint16_t timestamp;
|
||||
#ifdef PKTLOG_HAS_SPECIFIC_DATA
|
||||
uint32_t type_specific_data;
|
||||
#endif
|
||||
char *buf;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user