summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKrunal Soni <ksoni@codeaurora.org>2018-10-03 11:48:27 -0700
committernshrivas <nshrivas@codeaurora.org>2018-10-16 06:14:08 -0700
commit44e9c571b16ed813625205fa3509036501a01651 (patch)
tree46f34a1800df70057891489043a4bed4cdb9a958 /tools/perf/scripts/python
parent7878386eeb5a4c591835a429fad4f347bc35fe47 (diff)
qcacld-3.0: Exclude length field size from max beacon payload size
Don't account length field size while comparing against max beacon size. Current driver starts from (ptr+4 bytes) then tries to copy 512 bytes from that point which creates to copy extra 4 bytes beyond the array's boundary. Instead copy only 508 bytes if driver starts copying from (ptr+ 4bytes). ptr ^ | | +---------------+--------------------------------+ | | | | Length | Max Beacon payload | | | | +---------------+--------------------------------+ |<-- 4 bytes -->|<-------- 508 bytes ----------->| |<------------- 512 bytes --------------------->| CRs-Fixed: 2327052 Change-Id: I2646986ec424f7da31107ad01f673588734eaa52
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions