Fix for "scan enabled the dynamically disabled TDLS"

Overwrite the last tdls_mode with the current mode (pass from
iwpriv command) if wlan_hdd_tdls_set_mode is called from the
iwpriv command.
Save the last tdls_mode as the previos mode if set_mode is called
from any other place.

CRs-Fixed: 465885
Change-Id: Ia8eedf67d6972a0fb139e2e2b6ee5ec28f1e2ba0
2 files changed
tree: 71fc3d0e6e70dadd161947c143f4d42bd19f9a35
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig