qcacld-3.0: Harmonize wlansap_roam_callback()
Most of the identifiers used in the wlansap_roam_callback() prototype do not match the ones used in the implementation, and furthermore the one that does match does not conform to the coding standard, so update both the prototype and the implementation to have identical, conforming identifiers. Change-Id: I3cf3622121d15bb6c9fb2f9a63a0f9b99dd675f6 CRs-Fixed: 2423731
此提交包含在:
@@ -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
|
||||
|
@@ -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;
|
||||
|
新增問題並參考
封鎖使用者