ソースを参照

qcacld-3.0: LFR2.0: Fix to transition the roaming state

Fix the regression caused by the patch-set 5 of change-id
I56e8441f08dec180f080c305ba5c6541302f107c, where the API
to transition the roaming state,
CSR_NEIGHBOR_ROAM_STATE_TRANSITION has been replaced by
another API csr_neighbor_middle_of_roaming.

CRs-Fixed: 1017545
Change-Id: Icc30faf2816dcb8b6858fe1c80deb942d255ebfd
Varun Reddy Yeturu 9 年 前
コミット
a9c259402e
1 ファイル変更8 行追加9 行削除
  1. 8 9
      core/sme/src/csr/csr_roam_preauth.c

+ 8 - 9
core/sme/src/csr/csr_roam_preauth.c

@@ -88,7 +88,8 @@ void csr_neighbor_roam_tranistion_preauth_done_to_disconnected(
 		return;
 
 	qdf_mc_timer_stop(&session->ftSmeContext.preAuthReassocIntvlTimer);
-	csr_neighbor_middle_of_roaming(mac_ctx, session_id);
+	csr_neighbor_roam_state_transition(mac_ctx,
+		eCSR_NEIGHBOR_ROAM_STATE_INIT, session_id);
 	pNeighborRoamInfo->roamChannelInfo.IAPPNeighborListReceived = false;
 }
 
@@ -297,8 +298,8 @@ QDF_STATUS csr_neighbor_roam_preauth_rsp_handler(tpAniSirGlobal mac_ctx,
 			&neighbor_roam_info->FTRoamInfo.preAuthDoneList,
 			&preauth_rsp_node->List, LL_ACCESS_LOCK);
 
-		/* Pre-auth successful. Transition to PREAUTH Done state */
-		csr_neighbor_middle_of_roaming(mac_ctx, session_id);
+		csr_neighbor_roam_state_transition(mac_ctx,
+			eCSR_NEIGHBOR_ROAM_STATE_PREAUTH_DONE, session_id);
 		neighbor_roam_info->FTRoamInfo.numPreAuthRetries = 0;
 
 		/*
@@ -386,7 +387,8 @@ ABORT_PREAUTH:
 					ROAM_SCAN_OFFLOAD_RESTART,
 					REASON_PREAUTH_FAILED_FOR_ALL);
 			}
-			csr_neighbor_middle_of_roaming(mac_ctx, session_id);
+			csr_neighbor_roam_state_transition(mac_ctx,
+				eCSR_NEIGHBOR_ROAM_STATE_CONNECTED, session_id);
 		}
 	}
 
@@ -742,12 +744,9 @@ QDF_STATUS csr_neighbor_roam_issue_preauth_req(tpAniSirGlobal mac_ctx,
 	}
 
 	neighbor_roam_info->FTRoamInfo.preauthRspPending = true;
-
-	/* Increment the preauth retry count */
 	neighbor_roam_info->FTRoamInfo.numPreAuthRetries++;
-
-	/* Transition the state to preauthenticating */
-	csr_neighbor_middle_of_roaming(mac_ctx, session_id);
+	csr_neighbor_roam_state_transition(mac_ctx,
+		eCSR_NEIGHBOR_ROAM_STATE_PREAUTHENTICATING, session_id);
 
 	return status;
 }