From 06c447fcb51bbd2b2e3405a2952c27dc79d64219 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sun, 10 Jun 2018 00:05:49 -0700 Subject: [PATCH] qcacld-3.0: Fix sme_ft_send_update_key_ind() context param Currently sme_ft_send_update_key_ind() takes a tHalHandle context param. However this is a static internal function, and hence it should be using the "real" context pointer type tpAniSirGlobal instead of the opaque reference tHalHandle, so update the API to expect tpAniSirGlobal (which is what is already being passed by sme_ft_update_key()). Change-Id: I5309a6f9125684bc0d7766d5839f2296150b6834 CRs-Fixed: 2267437 --- core/sme/src/common/sme_ft_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/sme/src/common/sme_ft_api.c b/core/sme/src/common/sme_ft_api.c index d33a31281613..7ef82afab522 100644 --- a/core/sme/src/common/sme_ft_api.c +++ b/core/sme/src/common/sme_ft_api.c @@ -226,7 +226,7 @@ void sme_set_ft_ies(tHalHandle hal_ptr, uint32_t session_id, /** * sme_ft_send_update_key_ind() - To send key update indication for FT session - * @hal: pointer to HAL + * @mac: pointer to MAC context * @session_id: sme session id * @ftkey_info: FT key information * @@ -235,7 +235,7 @@ void sme_set_ft_ies(tHalHandle hal_ptr, uint32_t session_id, * Return: QDF_STATUS */ static -QDF_STATUS sme_ft_send_update_key_ind(tHalHandle hal, uint32_t session_id, +QDF_STATUS sme_ft_send_update_key_ind(tpAniSirGlobal mac, uint32_t session_id, tCsrRoamSetKey *ftkey_info) { tSirFTUpdateKeyInfo *msg;