wlan: Check for disconnect before starting carrier/tx_queues.

There is a race condition between connect completion and disconnect
because of which we can have a window where queues are opened but
sta is not registered with TL. The packets can keep coming in this
window leading to crash because of excessive logging in TL/HDD.
This fix won't allow carrier or tx_queues to be enabled in case of
disconnect so that packets can't come in this race condition.

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