wlan: Fix for MC_Thread hung during change iface.

During change iface, driver is trying acquire a mutex lock
for tdls_lock before hdd_stop_adapter which is already held
by a tdls API running in wpa_supplicant thread causing the
MC_Thread to be blocked. To address this, accquire a mutex
only after stop adapter to avoid MC thread to be blocked.

Change-Id: If31fa2a7bdb6e07d347eb3d3065fb1fa969ff62a
CRs-Fixed: 706800
1 file changed
tree: 2d0ee84dce9c89efa47b8e65b3ba85fe79730c98
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile