wlan: Set tdls mode to disable in case of unloading.

At the time of driver unload; if tdls connection is present
and if traffic is going on; hdd_rx_packet_cbk calls
wlan_hdd_tdls_find_peer.
wlan_hdd_tdls_find_peer always checks for valid context before
finding peer in list.
As a sanity check driver will print error message as
load/unload in progress and that can be result in excessive logging.
hdd_rx_packet_cbk calls wlan_hdd_tdls_find_peer only
when tdls state is enabled.
Fix this issue by making TDLS as disable.

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