qcacld-3.0: Fix crash during con_mod_handler

During con_mod_handler, cleanup of adapter is being done first
and then wlan modules are getting closed. Because of which NAPI poll is
still posting frames to a device/adapter which has been freed as part
of mode change handler, leading to a crash.

To address this issue first stop all wlan modules and then cleanup the
adapter.

Change-Id: I2fade59d1e4a27620cecadb91f69866e79c85612
CRs-Fixed: 2092132
1 file changed
tree: 7a145ab2304f059126f0ff1af50972845298c2f6
  1. components/
  2. core/
  3. uapi/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile
  8. README.txt