qcacmn: Fix check for the pointer to next TLV
The pointer to next TLV in status buffer is considered as valid, only if atleast the TLV header size is available within the status buffer. Change-Id: Ic222bfab4790853ee012de4b0a860ab037972ff5 CRs-Fixed: 3378058
This commit is contained in:

committed by
Madan Koyyalamudi

parent
de1e7e7e12
commit
589dcb8b89
@@ -1172,6 +1172,8 @@ struct dp_mon_pdev {
|
||||
bool reset_scan_spcl_vap_stats_enable;
|
||||
#endif
|
||||
bool is_tlv_hdr_64_bit;
|
||||
/* TLV header size*/
|
||||
uint8_t tlv_hdr_size;
|
||||
|
||||
/* Invalid monitor peer to account for stats in mcopy mode */
|
||||
struct dp_mon_peer *invalid_mon_peer;
|
||||
|
Reference in New Issue
Block a user