prima: protect tdls peer with mutex lock

On receiving tdls disable link from supplicant host
will change link status during which peer list is
getting pre-empted thus leading to crash.

To mitigate:
Before changing links status
1. protect list with lock
2. check is tdls peer is NULL

Change-Id: I615f0591775a06d81b410512dbb08794d417087e
CRs-Fixed: 923876
1 file changed
tree: 57237383d85b14f1a257881841def317d04af185
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile