From 54c37756274729e83f5ad332ed62872c1fe583e9 Mon Sep 17 00:00:00 2001 From: sheenam monga Date: Fri, 9 Oct 2020 13:23:44 +0530 Subject: [PATCH] qcacld-3.0: Handle sap restart after opportunistic timer start failure Currently, If hadware is not dbs capable opportunistic timer can not be started. In function if_mgr_connect_complete policy_mgr_check_n_start_opportunistic_timer fails to start opportunistic timer in case of non-dbs hw and sap restart doesn't happen. Fix is not to validate status returned by policy_mgr_check_n_start_opportunistic_timer to restart sap in case of non-dbs hardware. Change-Id: I3308a5c10341950d51419907cc767c09f967b7b1 CRs-Fixed: 2792764 --- components/cmn_services/interface_mgr/src/wlan_if_mgr_sta.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/components/cmn_services/interface_mgr/src/wlan_if_mgr_sta.c b/components/cmn_services/interface_mgr/src/wlan_if_mgr_sta.c index 7df03e5cba45..b2a14af54f43 100644 --- a/components/cmn_services/interface_mgr/src/wlan_if_mgr_sta.c +++ b/components/cmn_services/interface_mgr/src/wlan_if_mgr_sta.c @@ -120,11 +120,7 @@ QDF_STATUS if_mgr_connect_complete(struct wlan_objmgr_vdev *vdev, if_mgr_enable_roaming(vdev, pdev, RSO_CONNECT_START); } - status = policy_mgr_check_n_start_opportunistic_timer(psoc); - if (status) { - ifmgr_err("Failed to start dbs opportunistic timer"); - return status; - } + policy_mgr_check_n_start_opportunistic_timer(psoc); policy_mgr_check_concurrent_intf_and_restart_sap(psoc);