From 0c5cb992cff905931ef4970a393f925300762623 Mon Sep 17 00:00:00 2001 From: Mahesh Kumar Kalikot Veetil Date: Wed, 20 Sep 2017 13:13:50 -0700 Subject: [PATCH] Revert "qcacld-3.0: Don't allow start ap during sta connection" This reverts Change-Id: I1887aab39d2fa13cc8a900164d2aa6d489464e42 Driver is no more acquiring qdf_conc_list_lock before calling cds_get_pcl(). SME active queue will serialize connection request and bss start commands. Change-Id: I98066b8f1e756ae930ea97be6f8c6e6de244662d CRs-Fixed: 2108186 --- core/hdd/src/wlan_hdd_hostapd.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index 9ba9e6dbfbaf..b2c52f0ab0e7 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/core/hdd/src/wlan_hdd_hostapd.c @@ -8436,11 +8436,6 @@ static int __wlan_hdd_cfg80211_start_ap(struct wiphy *wiphy, adapter->device_mode, cds_is_sub_20_mhz_enabled()); - if (hdd_is_connection_in_progress(NULL, NULL)) { - hdd_err("Can't start BSS: connection is in progress"); - return -EBUSY; - } - if (policy_mgr_is_hw_mode_change_in_progress(hdd_ctx->hdd_psoc)) { status = policy_mgr_wait_for_connection_update( hdd_ctx->hdd_psoc);