mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-19 19:20:58 -04:00
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:
parent
b26e270d4e
commit
ed4ed172fc
2 changed files with 6 additions and 5 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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__);
|
||||
|
|
|
|||
Loading…
Reference in a new issue