From 5738eb0fe82421a66fefa0dfe8f48324aa19fa2e Mon Sep 17 00:00:00 2001 From: "Chandrasekaran, Manishekar" Date: Tue, 2 Feb 2016 12:22:00 +0530 Subject: [PATCH] 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 --- core/mac/src/pe/lim/lim_process_sme_req_messages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/mac/src/pe/lim/lim_process_sme_req_messages.c b/core/mac/src/pe/lim/lim_process_sme_req_messages.c index d71fa9701f6b..e588228df023 100644 --- a/core/mac/src/pe/lim/lim_process_sme_req_messages.c +++ b/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(