Browse Source

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
Jeff Johnson 6 years ago
parent
commit
06c447fcb5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/sme/src/common/sme_ft_api.c

+ 2 - 2
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;