wlan: Protect ROC ctx with mutex lock during request ROC.

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 request roc.

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