Эх сурвалжийг харах

qcacld-3.0: Pass session id of ongoing decr session

Currently locally generated vdev_id is passed to update
concurrency like to re-enable disabled sta link on one
p2p/sap down or handle concurrency on one ml sta link
down. This locally generated vdev id will be invalid/255
in case mode is non-sta, so hanlding will be done for non-sta
link down only.

Fix is to change vdev_id to session_id, so that session which
is deceremented due to session down can be provided and concurrency
handling can be done based on that.

Change-Id: Iaca9a339abbab3f5dab01e2224c3acd87df5bc0a
CRs-Fixed: 3212661
Sheenam Monga 2 жил өмнө
parent
commit
7b7faf56ce

+ 3 - 3
components/cmn_services/policy_mgr/src/wlan_policy_mgr_pcl.c

@@ -319,8 +319,8 @@ out:
 }
 
 void policy_mgr_decr_session_set_pcl(struct wlan_objmgr_psoc *psoc,
-						enum QDF_OPMODE mode,
-						uint8_t session_id)
+				     enum QDF_OPMODE mode,
+				     uint8_t session_id)
 {
 	QDF_STATUS qdf_status;
 	struct policy_mgr_psoc_priv_obj *pm_ctx;
@@ -391,7 +391,7 @@ void policy_mgr_decr_session_set_pcl(struct wlan_objmgr_psoc *psoc,
 		return;
 
 	policy_mgr_check_n_start_opportunistic_timer(psoc);
-	policy_mgr_handle_ml_sta_links_on_vdev_down(psoc, mode, vdev_id);
+	policy_mgr_handle_ml_sta_links_on_vdev_down(psoc, mode, session_id);
 }
 
 /**