wlan: Invalid error handling if watchdog thread creation fails

Currently if watchdog thread creation fails, it tries to close
watchdog. Watchdog close api will wait for watchdog shutdown completion
event which is not initialized yet.

To prevent this do not close watchdog if it not initialized.

Change-Id: I656f3f5a13368abb57020cb90dcf98ca0e1a5a39
CRs-Fixed: 2039337
2 files changed
tree: 5278185d33fd660e2749b3e5f3e7eb00f4a0de04
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile