wlan: Fix to enable TDLS only if enabled in INI and supported by FW

Though TDLS Feature is disabled in ini, during wlan startup tdls
mode is set based on either implicit or explicit mode from ini
regardless of TDLS feature support in ini which will lead to send
TDLS frames depending on TDLS mode of configuration(implicit or explicit)
which is incorrect and in current scenario TDLS discovery request
is sent with disabling BMPS(if enabled) and host will neither process
TDLS discovery response nor enable BMPS since tdls context is NULL
and TDLS context is NULL because of TDLS feature is not enabled
in ini thus leading to issue.

Fix is to ensure that TDLS mode is set to either implicit or explicit
only if TDLS feature is enabled in ini and supported by FW.

Change-Id: I3b7bb9026839c15d495ac3dc3b190fc75d48cc7a
CRs-Fixed: 981745
1 file changed
tree: 06dbe7b6a0f3273409128df34e1ebd3bb50242aa
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile