wlan: Add changes in SSR sequence due to rpmsg migration

Currently, wcnss_close_channel is called in module unload time,
but it needs to be called during SSR also in case of rpmsg otherwise
driver_reinit will fail as rpmsg channel endpoint is not valid.

To avoid failure during SSR reinit, close the channel during driver
shutdown and open the channel during SSR reinit again.

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