qcacld-3.0: Teardown TDLS peer when p2p scan is started

When TDLS is in progress and p2p scan is started, then
TDLS peer is not removed, but TDLS is disabled.Thus,
wlan_hdd_tdls_scan_callback() will reject the scan.

The fix is to remove TDLS peer while disabling TDLS when
p2p scan is started.

Change-Id: Ib457243258eaab4ba1af22993f689aab02c3b3d9
CRs-Fixed: 1106995
1 file changed
tree: 8a8adaef80bb997c2c0b99f0cb93a1428c93e660
  1. core/
  2. uapi/
  3. Android.mk
  4. Kbuild
  5. Kconfig
  6. Makefile
  7. README.txt