commit | bd1ad03c3de7716135569a186d9e28e9178de74a | [log] [tgz] |
---|---|---|
author | Vignesh Viswanathan <viswanat@codeaurora.org> | Wed Nov 15 15:13:56 2017 +0530 |
committer | snandini <snandini@codeaurora.org> | Thu Nov 16 00:12:47 2017 -0800 |
tree | 13a70302ce634abc9144781a8dda5e5269ae3d11 | |
parent | 75b57743a42f31cf8f35dbe5e809e9cbea6aff22 [diff] |
qcacld-3.0: Fix check for peer_num in wma_get_ll_stats_ext_buf The current check for peer_num in wma_get_ll_stats_ext_buf is incorrect and subtracts total_peer_len from WMI_SVC_MSG_MAX_SIZE and then divides it by the size of peer stats struct. Fix the check in such a way that peer num is not greater than WMI_SVC_MSG_MAX_SIZE divided by the sum of total_peer_len and size of peer stats struct. Change-Id: Idd21852052b14e9b30785f2ac4acbd172dd923ef CRs-Fixed: 2143891