wlan: Synchronize mgmt TX and TX complete callback

Currently there is no synchronization between management TX packet
and its completion call back. Sometimes when management TX packet
timeout happens, at the same time packet completion callback is
called and leads to incorrect read of the packet data which is
modified in TX management packet timeout.

In this change add lock to synchronize management TX and its
completion callback.

Change-Id: Ib05aea174ac304b54a1cb743221a46968cbaab41
CRs-Fixed: 1031356
3 files changed
tree: 6ab4ffacdbe8b1e42a6d31a0c01e866e271ab10b
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile