wlan: Stop traffic as soon as driver started unloading.

If driver unload happens through GUI, supplicant issue
hdd_stop and do initial cleanup before putting driver
in unloading mode while this is not case with CLI.
In case of CLI, as soon as rmmod happens,
driver goes into unloading state and traffic queues are still
active.
Ideally As soon as driver has set unload flag; driver
should stop traffic.
Need to flush traffic queue as soon as unload flag is set.

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