wlan: Handle session leak during change interface

Currently in change interface, the status of the interface is not being
checked before initializing the mode. If the interface is down, one more
session will be created when interface up is triggered. In this case,
the session created during the change interface will not be deleted.

To handle this, check for interface up before initializing the mode
during change interface.

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