commit | 2988e45d5c6ada288da5f7db3f5b163ad025b34d | [log] [tgz] |
---|---|---|
author | Arif Hussain <arifhussain@codeaurora.org> | Wed Dec 21 13:36:39 2016 -0800 |
committer | qcabuildsw <qcabuildsw@localhost> | Mon Jan 16 20:40:23 2017 -0800 |
tree | b5034d71efc58346c25d0aa3dd8b2bfac025fd16 | |
parent | 48a4dc71bc3bfc130764db3604dda8f8c70f17ba [diff] |
qcacld-3.0: Fix incorrect condition in sap_add_mac_to_acl function Currently sap_add_mac_to_acl() function has incorrect validation check, size of MacList will be always zero if no elements added to the list. Validating size always be greater than zero will prevent adding first element itself. There by breaking whole ACL functionality. To fix this, remove ‘*size == 0’ condition in validation code. Change-Id: Ic3e51db798a996870ef65cda0eddfd1ec738d290 CRs-Fixed: 1104152