prima: protect the access of pHddTdlCtx with a mutex.

pHddTdlsCtx is getting freed in wlan_hdd_tdls_exit function in
kernel worker queue context and it is getting accessed
wlan_hdd_check_bmps function in MC thread context. This is leading
to crash.

To mitigate this issue protecting the access for pHddTdlsCtx with a
mutex.

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