wlan: Stop timers only if they are initialized and started

Observed kernel panic while destroying an uninitialized timer
during driver unload. This is because TX/RX traffic monitor
timer is initialized only if "dynSplitscan" ini parameter is
enabled and destroyed without checking for ini.

To mitigate this issue, destroy timers if and only if its
initialized.

Change-Id: I185139b95de4cef969a82a53ce9e3eb5e2b09325
CRs-Fixed: 1043344
2 files changed
tree: b02515cba0f702b087590a8592786f44898fe94b
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile