commit | 2da29eb8a58dfd4d3361b2cdd047478739f6581d | [log] [tgz] |
---|---|---|
author | Dustin Brown <dustinb@codeaurora.org> | Fri Jul 13 14:23:12 2018 -0700 |
committer | nshrivas <nshrivas@codeaurora.org> | Fri Jul 13 19:29:32 2018 -0700 |
tree | 863c702575caf4864368f186c992870940be10bc | |
parent | 1c5aae82de529c881113ba649bb57dcd2b515d38 [diff] |
qcacld-3.0: Destroy vdev if close session fails Currently, hdd_vdev_destroy has some error handling logic which avoids actually destroying the vdev in some cases. This always constitutes a leak of resources. Regardless of the result of the call to sme_close_session(), always destroy the vdev in hdd_vdev_destroy(). Change-Id: I86f3e55866a8506dd4a1a2bcbf8bf5d5264d49e3 CRs-Fixed: 2278043