wlan: While unload do not flush disconnect and full power commands

If disconnect is queued in sme pending queue and unload is
triggered, driver flush all the commands in pending queue including
disconnect. Thus del self STA is sent without DEL BSS leading to
crash in firmware.

To avoid this remove this flush logic from hdd and flush commands
in csr close session. Also do not flush the disconnect and full
power commands if called from unload.

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