wlan: Process FTM commands only when drver is loaded in FTM mode

User issued FTM command using QRCT tool, when wifi driver is not
loaded in FTM mode, which leads to crash.

To mitigate this issue, before processing FTM commands check to
confirm whether driver is loaded in FTM mode or not.

CRs-fixed: 855719
Change-Id: Iee42aa36efbdb7d310dce9584d9da7ca3094d8b0
1 file changed
tree: 8e6c15f0b6ab26233e32de5be1ec3304e777e7b2
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile