From 255d217cca0204e0bdaf7435582ccb3894ee23b5 Mon Sep 17 00:00:00 2001 From: Srinivas Dasari Date: Tue, 8 Nov 2022 14:58:33 +0530 Subject: [PATCH] qcacld-3.0: Re-enable roaming with correct reason upon p2p disconnect Currently, roaming is disabled with requestor "RSO_CONNECT_START" on the STA when concurrent P2P-client is connected . It's re-enabled once the P2P-client is disconnected but with requestor RSO_INVALID_REQUESTOR. Roaming module still doesn't re-enable roaming as it expects roam-enable command from the requestors(i.e. RSO_CONNECT_START in this case) which disabled roaming. Pass right requestor to re-enable roaming. Change-Id: Icb3deeed788ca248391b4b84288229aea2bdb8c2 CRs-Fixed: 3330219 --- components/cmn_services/interface_mgr/src/wlan_if_mgr_sta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 b2ec4d9b23..efd89b69f9 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 @@ -210,7 +210,7 @@ QDF_STATUS if_mgr_disconnect_complete(struct wlan_objmgr_vdev *vdev, wlan_handle_emlsr_sta_concurrency(vdev, false, false); status = if_mgr_enable_roaming_after_p2p_disconnect(pdev, vdev, - RSO_INVALID_REQUESTOR); + RSO_CONNECT_START); if (status) { ifmgr_err("Failed to enable roaming after p2p disconnect"); return status;