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