wlan: Protect ROC ctx with mutex lock during ROC callback and timeout.

Multiple functions running in different thread context can access
the ROC context or alter its elements, after the roc context is
freed or its elements are altered by other functions which can
lead to crash or some other issues.

To address this, protect ROC context and its elements with mutex.
The possible scenarios addressed are during roc callback, roc
timeout and cancel roc.

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