summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Sathish <asathish@codeaurora.org>2021-01-22 21:19:08 +0530
committerHsiu Chang Chen <hsiuchangchen@google.com>2021-06-03 06:55:06 +0000
commit7fa6d900e62f0f98c3615a60a22fe3d3f05fc383 (patch)
tree5820d8facd1d533af166b899e5f4cad9bd5da5f9
parent40848354ed1b14c67c8c04060d37a28c1875b8cc (diff)
downloadqca-wfi-host-cmn-7fa6d900e62f0f98c3615a60a22fe3d3f05fc383.tar.gz
qcacmn: Avoid checking extcaps byte if equal to IE len
Reading extcaps from the scan entry currently checks if the byte to be accessed is less than the length of the IE. Following this, it will attempt to access the extcap IE using the requested byte as the index. Avoid accessing the extcap IE if the byte is greater than one less than the ie_len (since indexing starts from zero). Bug: 184561362 CRs-Fixed: 2856212 Change-Id: Ie357edcd6095570c05871af657381c287e92504e Signed-off-by: Hsiu-Chang Chen <hsiuchangchen@google.com> (cherry picked from commit cfd42be7efa8b409ec4614fc41659475ef6e04f4)
0 files changed, 0 insertions, 0 deletions