commit | 95ff87c60e5c4ee87fb5ffc143d3c070af20e992 | [log] [tgz] |
---|---|---|
author | Dustin Brown <dustinb@codeaurora.org> | Wed Apr 04 16:10:00 2018 -0700 |
committer | nshrivas <nshrivas@codeaurora.org> | Fri Apr 06 19:28:44 2018 -0700 |
tree | 4c0e0ce7eca13d294a140a02dde720169654e11b | |
parent | 21f0bf56e8de020fbb7a94adfffb3ccc19be741e [diff] |
qcacld-3.0: Flush packets in datapath error case Several packets are sent to firmware in htt_htc_attach_all(), back to back. However, if one of the latter packets fails to send for some reason, the previous packets are not flushed. This leads to a number of leaks under error conditions. If a packet fails to send in htt_htc_attach_all(), flush the endpoint before returning failure to the upper layers. Change-Id: If9b33a645f7bcc77442e18566525ae57b544f1a0 CRs-Fixed: 2219137