qcacld-3.0: Destroy tx_frm_download_comp_event in wma_close

qcacld-2.0 to qcacld-3.0 propagation

Currently tx_frm_download_comp_event is used in Mcthread and destroyed
in wma_stop, when wma_stop is called, Mcthread has not exited yet.
In stress test, this event is destoryed but Mcthread is still using,
so crash occurs.

Solution is that destroy event in wma_close to avoid the case that after
destroy this event is still used.

Change-Id: I7d4e97ab261f586edfb90268544a2cda4e90a0b2
CRs-Fixed: 958906
2 files changed
tree: 91cf664f5fbc9b6c65f69a70d126e056e5ea7851
  1. core/
  2. target/
  3. uapi/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile
  8. README.txt