diff --git a/core/sap/inc/sap_api.h b/core/sap/inc/sap_api.h index c26efa5896b3..c267df49d495 100644 --- a/core/sap/inc/sap_api.h +++ b/core/sap/inc/sap_api.h @@ -662,11 +662,11 @@ struct sap_context; /** * wlansap_roam_callback() - API to get the events for SAP persona - * @pContext: sap context - * @pCsrRoamInfo: pointer to SME CSR roam info structure - * @roamId: roam id being used - * @roamStatus: status of the event reported by SME to SAP - * @roamResult: result of the event reported by SME to SAP + * @ctx: callback context registered with SME (sap context is registered) + * @csr_roam_info: pointer to SME CSR roam info structure + * @roam_id: roam id being used + * @roam_status: status of the event reported by SME to SAP + * @roam_result: result of the event reported by SME to SAP * * Any activity like start_bss, stop_bss, and etc for SAP persona * happens, SME reports the result of those events to SAP through this @@ -674,11 +674,11 @@ struct sap_context; * * Return: QDF_STATUS based on overall result */ -QDF_STATUS wlansap_roam_callback(void *pContext, - struct csr_roam_info *pCsrRoamInfo, - uint32_t roamId, - eRoamCmdStatus roamStatus, - eCsrRoamResult roamResult); +QDF_STATUS wlansap_roam_callback(void *ctx, + struct csr_roam_info *csr_roam_info, + uint32_t roam_id, + eRoamCmdStatus roam_status, + eCsrRoamResult roam_result); /** * sap_create_ctx() - API to create the sap context diff --git a/core/sap/src/sap_api_link_cntl.c b/core/sap/src/sap_api_link_cntl.c index 746f90ae4b6e..a0a4b161f49d 100644 --- a/core/sap/src/sap_api_link_cntl.c +++ b/core/sap/src/sap_api_link_cntl.c @@ -761,10 +761,11 @@ static void wlansap_update_vendor_acs_chan(struct mac_context *mac_ctx, } } -QDF_STATUS -wlansap_roam_callback(void *ctx, struct csr_roam_info *csr_roam_info, - uint32_t roamId, - eRoamCmdStatus roam_status, eCsrRoamResult roam_result) +QDF_STATUS wlansap_roam_callback(void *ctx, + struct csr_roam_info *csr_roam_info, + uint32_t roam_id, + eRoamCmdStatus roam_status, + eCsrRoamResult roam_result) { /* sap_ctx value */ struct sap_context *sap_ctx = ctx;