소스 검색

qcacld-3.0: Update Set Roam Primary reason in the roam stop config

Currently, roam scan mode is updated as roam offload while setting
primary vdev, but expected scan mode in this case is none. This is due
to wrong reason is propagated from cm_roam_stop_req to
cm_roam_scan_offload_fill_rso_configs.
So, reason in roam stop config is updated with set roam primary which is
propagated to cm_roam_scan_offload_fill_rso_configs.

CRs-Fixed: 3182222
Change-Id: I6d0db95f475038e659bddeb24b79ac4f67c9c079
Rahul Gusain 2 년 전
부모
커밋
eb9d862389
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      components/umac/mlme/connection_mgr/core/src/wlan_cm_roam_offload.c

+ 2 - 0
components/umac/mlme/connection_mgr/core/src/wlan_cm_roam_offload.c

@@ -2989,6 +2989,8 @@ static void cm_fill_stop_reason(struct wlan_roam_stop_config *stop_req,
 		stop_req->reason = REASON_DISCONNECTED;
 	else if (reason == REASON_OS_REQUESTED_ROAMING_NOW)
 		stop_req->reason = REASON_OS_REQUESTED_ROAMING_NOW;
+	else if (reason == REASON_ROAM_SET_PRIMARY)
+		stop_req->reason = REASON_ROAM_SET_PRIMARY;
 	else
 		stop_req->reason = REASON_SME_ISSUED;
 }