wlan: Address kernel panic by destroying tdls timers on driver unload

During driver unload, TDLS timers are destroyed only if "connState"
is set to "eConnectionState_Associated" or "eConnectionState_Connecting".
But "connState" variable can be altered in other thread context due to
which, TDLS timers may not be destroyed during driver unload and may lead
to kernel panic if the timer callback functions invoked after driver
unload.

To address this issue, destroy tdls timers during driver unload without
depending on "connState" variable.

Change-Id: Iaaafeb19dfee79eb77fa61e9ccdbbce5b514339f
CRs-Fixed: 865420
1 file changed
tree: 6f483fe3da5e14d42c94f8af33eccb3e6ea56e63
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile