From e8ca338755b6bc1445ebfea2fdf9c8fe5314a098 Mon Sep 17 00:00:00 2001 From: Naveen Rawat Date: Sat, 17 Dec 2016 14:58:07 -0800 Subject: qcacld-3.0: Set is_key_installed in roam_synch handler Set is_key_installed in roam_synch handler, if firmware has already done 4-way handshake and set keys. Change-Id: Ie5539dfe821c1c9d8d713a83592a31f04a85c3ac CRs-Fixed: 1104243 --- core/mac/src/pe/lim/lim_api.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/mac/src/pe/lim/lim_api.c b/core/mac/src/pe/lim/lim_api.c index 859dc822958a..cee6d5d7a214 100644 --- a/core/mac/src/pe/lim/lim_api.c +++ b/core/mac/src/pe/lim/lim_api.c @@ -2067,6 +2067,10 @@ QDF_STATUS pe_roam_synch_callback(tpAniSirGlobal mac_ctx, if (mac_ctx->roam.pReassocResp) qdf_mem_free(mac_ctx->roam.pReassocResp); mac_ctx->roam.pReassocResp = NULL; + + if (roam_sync_ind_ptr->authStatus == CSR_ROAM_AUTH_STATUS_AUTHENTICATED) + ft_session_ptr->is_key_installed = true; + return QDF_STATUS_SUCCESS; } #endif -- cgit v1.2.3