commit | 3c49d192eb8a2b4160e89deb6e792f833d6e70a4 | [log] [tgz] |
---|---|---|
author | Naveen Rawat <naveenrawat@codeaurora.org> | Thu Mar 02 18:43:16 2017 -0800 |
committer | Sandeep Puligilla <spuligil@codeaurora.org> | Mon Apr 17 16:12:37 2017 -0700 |
tree | 736ff3bf5bd91bd4b0e77868ae43962f8551ce8c | |
parent | 429853ffb6450ec9e1307b4d39229c1eb5b7d0e9 [diff] |
qcacld-3.0: Free stats_rsp in vdev_detach before zeroing iface buffer 1) In function wma_vdev_detach_callback, free stats_rsp before zeroing out iface buffer, else the stats_rsp memory which is not sent to upper layer is lost. 2) In function wma_get_stats_req set stats_rsp buffer to NULL after posting it to upper layers, so that in case this function is pre-empted we do not lose buffer pointer. Change-Id: I8d6261cb53758e02217d68ff01b94bb812adc7fd CRs-Fixed: 2015436