qcacld-3.0: Clear SOFTAP_BSS_STARTED flag for P2P GO SSR case

In SSR case, stop BSS fail with P2P GO since session invalid, and
then blocking to start next P2P GO.

Change-Id: I6bb387480e6a08e082771598b649c5ac240aff2e
CRs-Fixed: 2244698
This commit is contained in:
Wu Gao 2018-05-24 19:27:27 +08:00 • committed by nshrivas
commit 6b81fc5f9c

View file

@ -5319,6 +5319,7 @@ QDF_STATUS hdd_reset_all_adapters(struct hdd_context *hdd_ctx)
hdd_objmgr_remove_peer_object(adapter->hdd_vdev,
peerMacAddr.bytes);
} else if (adapter->device_mode == QDF_P2P_GO_MODE) {
clear_bit(SOFTAP_BSS_STARTED, &adapter->event_flags);
for (sta_id = 0; sta_id < WLAN_MAX_STA_COUNT; sta_id++) {
if (adapter->sta_info[sta_id].in_use) {
hdd_debug("[SSR] deregister STA with ID %d",