wlan: hold mutex before accessing the tdls peer entry

hold mutex in functions wlan_hdd_tdls_set_link_status and
wlan_hdd_tdls_get_status before accessing the tdls peer entry
to avoid any race conditions.

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