prima: Watchdog bark due to excessive logging

Vos watchdog shutdown function has a logging bug which sometimes manifests
itself during SSR. In this function, control can be stuck in a VOS_TRACE
and won't proceed for setting logp flag later in the function. This can
happen if smd_close occured during shutdown and repeated requests such
as scan or roamstats either from supplicant are denied subsequently at
lower layers in HDD resulting in too many VOS ASSERTS. If logp is set
control will be returned immediately instead of passing to the lower HDD
layers. Hence the shutdown should be moved to a different location to avoid
this race condition.

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