wlan: Stop hdd_restart_timer at unload only if it is not FTM mode

VOS_ASSERT is observed at driver unload in FTM mode. hdd_restart_timer
is only initialized at wlan_startup when the mode is not FTM but is
stopped at unload unconditionally thus casuing an assert for
stopping an uninitialized timer. The fix is to stop the timer in
wlan_exit only if the mode is not FTM

Change-Id: Ie06fd3ebc1710b14e441474de8553f64b66b6797
CR-Fixed: 433127
1 file changed
tree: ca7641f1aaaadb8658aa7f05c8bed2c0b82116c3
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig