wlan: wdi: avoid overriding smd state from closed to deffered

During SSR chaging local state of SMD to remote closed is
asynchronous event which is not protected by any locking
mechanism. This could potential cause a race condition in
setting SMD to desired state by driver.

Adding locking mechanism to ensure proper SMD state is known before
changing it.

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