wlan: Protect ROC ctx with mutex lock during mgmt TX and TX 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 management tx and
TX timeout.

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