Wlan: Disable Tx queues from wlan_hdd_cfg80211_stop_ap

when hdd_hostapd_SAPEventCB is invoked for eSAP_STOP_BSS_EVENT after
10 seconds, wlan_hdd_cfg80211_stop_ap() which is waiting for this
event may already have returned and Adapter/Device
may have been deleted.

When hdd_hostapd_SAPEventCB() is finally invoked, it checks for
Adapter magic which is invalid in this case because of which the
driver will not process the eSAP_STOP_BSS_EVENT.

which results in hdd_hostapd_stop not being invoked,hence the queues
remain enabled and packets will be recieved from upper layers.

So Now we are calling hdd_hostapd_stop from
wlan_hdd_cfg80211_stop_ap to disable the tx queues.

Change-Id: I40709d20b448caf72f4d00e06de902851b93acb1
CRs-Fixed: 601704
2 files changed
tree: 09e15b940eb9f76e2a1ae07013d6196360e72d0d
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig