소스 검색

qcacld-3.0: Fix extraction of invalid PE session entry during Nss update

Ensure that the PE session is extracted using the SME session id during
Nss update request. The Nss update request carries the SME session id
and not the PE session id. Fixing the implementation by invoking
pe_find_session_by_sme_session_id() to extract the PE session entry
using the SME session id, instead of pe_find_session_by_session_id()
which uses the PE session id.

Change-Id: If388fa917635c7a536d21fcfb664b081babd5c2a
CRs-Fixed: 970802
Chandrasekaran, Manishekar 9 년 전
부모
커밋
5738eb0fe8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/mac/src/pe/lim/lim_process_sme_req_messages.c

+ 1 - 1
core/mac/src/pe/lim/lim_process_sme_req_messages.c

@@ -5676,7 +5676,7 @@ static void lim_process_nss_update_request(tpAniSirGlobal mac_ctx,
 	}
 
 	nss_update_req_ptr = (struct sir_nss_update_request *)msg_buf;
-	session_entry = pe_find_session_by_session_id(mac_ctx,
+	session_entry = pe_find_session_by_sme_session_id(mac_ctx,
 				nss_update_req_ptr->vdev_id);
 	if (session_entry == NULL) {
 		lim_log(mac_ctx, LOGE, FL(