qcacld-3.0: Refine API wlansap_clear_acl()

See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_clear_acl() to use the true struct pointer type.

Change-Id: I7ffab7e01a107ad476c2a02ffb60bad4d9b62a97
CRs-Fixed: 2116267
这个提交包含在:
Jeff Johnson
2017-09-25 13:53:29 -07:00
提交者 snandini
父节点 49c819f9a0
当前提交 31d1a74d61
修改 2 个文件,包含 9 行新增5 行删除

查看文件

@@ -1002,7 +1002,14 @@ QDF_STATUS wlansap_set_key_sta(void *p_cds_gctx,
QDF_STATUS wlan_sap_getstation_ie_information(struct sap_context *sap_ctx,
uint32_t *len, uint8_t *buf);
QDF_STATUS wlansap_clear_acl(void *p_cds_gctx);
/**
* wlansap_clear_acl() - Clear all ACLs
* @pSapCtx: Pointer to the SAP context
*
* Return: QDF_STATUS. If success the ACLs were cleared, otherwise an
* error occurred.
*/
QDF_STATUS wlansap_clear_acl(struct sap_context *pSapCtx);
/**
* wlansap_get_acl_accept_list() - Get ACL accept list

查看文件

@@ -892,11 +892,8 @@ QDF_STATUS wlansap_get_acl_deny_list(struct sap_context *pSapCtx,
return QDF_STATUS_SUCCESS;
}
/* This routine will clear all the entries in accept list as well as deny list */
QDF_STATUS wlansap_clear_acl(void *pCtx)
QDF_STATUS wlansap_clear_acl(struct sap_context *pSapCtx)
{
struct sap_context *pSapCtx = CDS_GET_SAP_CB(pCtx);
uint8_t i;
if (NULL == pSapCtx) {