diff options
author | Hu Wang <huw@codeaurora.org> | 2021-01-27 10:53:17 +0800 |
---|---|---|
committer | Hsiu-Chang Chen <hsiuchangchen@google.com> | 2021-06-28 15:16:59 +0800 |
commit | 9fe3a9f3484fff09fe7d28e1250ffa2d12f1b0ed (patch) | |
tree | 3ff6a6f17723a3a45c7aa744e4547db988b72381 /cld80211-lib | |
parent | d3d0a6c0adb9e9ba466132c6961824318e437b8c (diff) | |
download | wlan-9fe3a9f3484fff09fe7d28e1250ffa2d12f1b0ed.tar.gz |
llstats: Use mNumRadioAllocated for real radio stats recevied
Wifihal uses mNumRadio from QCA_WLAN_VENDOR_ATTR_LL_STATS_NUM_RADIOS,
but it shall use mNumRadioAllocated which is based on the real radio
stats received.
This avoids memory out-of-bound access.
Bug: 190878523
Test: Regression test
CRs-Fixed: 2863682
Change-Id: Ia1c8484307182a3fab8fbfbde2a9be9047eade61
Diffstat (limited to 'cld80211-lib')
0 files changed, 0 insertions, 0 deletions