wlan: Fix for dead lock during cancel existing ROC.

Since there is a common mutex lock accquired during
cancel existing ROC and ROC callback, there could be
a deadlock if driver has requested cancel ROC as of
part of ROC expiry followed by a cancel existing ROC
request invoked by one of the fuctions called from
the supplicant like change_iface or scan etc.

To address this, release mutex lock before waiting on
ready ROC completion variables.

Change-Id: I2d18ae6a4c135316c4b6a6db1aac70804c24aaff
CRS-Fixed: 818115
1 file changed
tree: 11fb1ddca23f1bab299ff3150d88f01f385bd67c
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile