Wlan: If cancel existing ROC times out return error

As part of request ROC from supplicant, if cancel existing ROC
times out waiting on complete event it returns success. This
timeout is due to MC thread waiting on management TX complete
event.

As cancel existing ROC returned success the request ROC continues
and reset the cancel ROC in progress flag.

Now as cancel ROC in progress is false, if cancel ROC is received
from supplicant it posts cancel ROC to MC thread.

This result in 2 Cancel ROC request and thus 2 back to back init
scan request are sent to firmware without finish scan request in
between.

If cancel existing ROC times out, return error instead of success.

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