qcacld-3.0: Refine API wlan_sap_set_vendor_acs()

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

Change-Id: Iba77a686dc08251dbaee74554ee7de3080ad8b64
CRs-Fixed: 2116267
This commit is contained in:
Jeff Johnson 2017-09-25 18:36:16 -07:00 • committed by snandini
commit ed4ed172fc
2 changed files with 6 additions and 5 deletions

View file

@ -1331,12 +1331,14 @@ QDF_STATUS wlansap_set_dfs_nol(struct sap_context *sap_ctx,
/**
* wlan_sap_set_vendor_acs() - Set vendor specific acs in sap context
* @pSapCtx: SAP context
* @sap_context: SAP context
* @is_vendor_acs: if vendor specific acs is enabled
*
* Return: QDF_STATUS
*/
QDF_STATUS wlan_sap_set_vendor_acs(void *sap_ctx, bool is_vendor_acs);
QDF_STATUS wlan_sap_set_vendor_acs(struct sap_context *sap_context,
bool is_vendor_acs);
void wlansap_populate_del_sta_params(const uint8_t *mac,
uint16_t reason_code,
uint8_t subtype,

View file

@ -2498,10 +2498,9 @@ void wlansap_extend_to_acs_range(tHalHandle hal, uint8_t *startChannelNum,
}
}
QDF_STATUS wlan_sap_set_vendor_acs(void *ctx, bool is_vendor_acs)
QDF_STATUS wlan_sap_set_vendor_acs(struct sap_context *sap_context,
bool is_vendor_acs)
{
struct sap_context *sap_context = ctx;
if (!sap_context) {
QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_ERROR,
"%s: Invalid SAP pointer", __func__);