Commit 9fe3a9f3 authored by Hu Wang's avatar Hu Wang Committed by Hsiu-Chang Chen
Browse files

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
parent d3d0a6c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment