commit | aab0c60a14ab76d374b6beae72cad24dcf7e8b8b | [log] [tgz] |
---|---|---|
author | Aditya Sathish <asathish@codeaurora.org> | Fri Jan 22 21:19:08 2021 +0530 |
committer | snandini <snandini@codeaurora.org> | Thu Feb 18 06:31:29 2021 -0800 |
tree | 2e143fa5e0ab740fa98135451e5c241cd7d28a2d | |
parent | 1e20f0cdd398a52fa708166da9a3ea77331f124c [diff] |
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). CRs-Fixed: 2856212 Change-Id: Ie357edcd6095570c05871af657381c287e92504e