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
This commit is contained in:
Srinivas Dasari
2022-11-08 14:58:33 +05:30
committed by Madan Koyyalamudi
vanhempi 0d53d82f4f
commit 255d217cca

Näytä tiedosto

@@ -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;