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
This commit is contained in:
@@ -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,
|
QDF_STATUS wlan_sap_getstation_ie_information(struct sap_context *sap_ctx,
|
||||||
uint32_t *len, uint8_t *buf);
|
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
|
* 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;
|
return QDF_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This routine will clear all the entries in accept list as well as deny list */
|
QDF_STATUS wlansap_clear_acl(struct sap_context *pSapCtx)
|
||||||
|
|
||||||
QDF_STATUS wlansap_clear_acl(void *pCtx)
|
|
||||||
{
|
{
|
||||||
struct sap_context *pSapCtx = CDS_GET_SAP_CB(pCtx);
|
|
||||||
uint8_t i;
|
uint8_t i;
|
||||||
|
|
||||||
if (NULL == pSapCtx) {
|
if (NULL == pSapCtx) {
|
||||||
|
Reference in New Issue
Block a user