wlan: Teardown TDLS links before starting interface

If the TDLS links exists and SAP comes up, there is a chance
that the peer is created for SAP before deleting TDLS peers,
thus leading to crash.

The fix is to teardown the TDLS links before starting hostapd
or starting the association process to avoid TDLS in concurrency
case.

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