Browse Source

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
Srinivas Dasari 2 years ago
parent
commit
255d217cca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/cmn_services/interface_mgr/src/wlan_if_mgr_sta.c

+ 1 - 1
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;