mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
qcacld-3.0: Add protection for type_specific_data in ath_pktlog_hdr
The member of type_specific_data is only valid for HELIUMPLUS. 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: I426e24db073e080d20cd5963ef89c521d0bfb106 CRs-Fixed: 2185588
This commit is contained in:
parent
1a265ecb16
commit
bf57c2c31e
1 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
|
|
@ -69,7 +69,9 @@ struct ath_pktlog_hdr {
|
|||
#endif
|
||||
uint16_t size;
|
||||
uint32_t timestamp;
|
||||
#ifdef HELIUMPLUS
|
||||
uint32_t type_specific_data;
|
||||
#endif
|
||||
} __ATTRIB_PACK;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue