summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaveen Rawat <naveenrawat@codeaurora.org>2016-12-17 14:58:07 -0800
committerqcabuildsw <qcabuildsw@localhost>2016-12-22 23:04:01 -0800
commite8ca338755b6bc1445ebfea2fdf9c8fe5314a098 (patch)
treed72b02b8ee830e495a3d5b297193e71b5dea3eac
parent4ced39073fa084c9498423b406acf5abdb2d4bfe (diff)
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
-rw-r--r--core/mac/src/pe/lim/lim_api.c4
1 files changed, 4 insertions, 0 deletions
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