wlan: Destroy the lock before freeing WDA context

Currently mutex mgmt_pkt_lock destroy is called after freeing the WDA
context. In this change fix is to destroy the lock before freeing the
context in order to avoid possible system crash.

Change-Id: Iab55d2e64f80b2d40e0e080c9c80fcf5e1713cd4
CRs-Fixed: 1076848
1 file changed
tree: 57ca8a16b1c8e7b01b53f70f26fcdbf8b58b6c87
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile