mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-21 04:00:01 -04:00
qcacld-3.0: Refine API wlan_sap_update_next_channel()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history. Update wlan_sap_update_next_channel() to use the true struct pointer type. Change-Id: I10226f1bc7d4e47fb363de54b4bc0bc7784416ef CRs-Fixed: 2116267
This commit is contained in:
parent
d4ca1e5b46
commit
cd1ee1eedd
2 changed files with 8 additions and 7 deletions
|
|
@ -936,14 +936,16 @@ QDF_STATUS wlansap_stop_bss(struct sap_context *pSapCtx);
|
|||
/**
|
||||
* wlan_sap_update_next_channel() - Update next channel configured using vendor
|
||||
* command in SAP context
|
||||
* @ctx: SAP context
|
||||
* @sap_ctx: SAP context
|
||||
* @channel: channel number
|
||||
* @chan_bw: channel width
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS wlan_sap_update_next_channel(void *ctx, uint8_t channel,
|
||||
enum phy_ch_width chan_bw);
|
||||
QDF_STATUS wlan_sap_update_next_channel(struct sap_context *sap_ctx,
|
||||
uint8_t channel,
|
||||
enum phy_ch_width chan_bw);
|
||||
|
||||
QDF_STATUS wlan_sap_set_pre_cac_status(void *ctx, bool status,
|
||||
tHalHandle handle);
|
||||
QDF_STATUS wlan_sap_set_chan_before_pre_cac(void *ctx,
|
||||
|
|
|
|||
|
|
@ -1591,11 +1591,10 @@ QDF_STATUS wlansap_cancel_remain_on_channel(struct sap_context *pSapCtx,
|
|||
return QDF_STATUS_E_FAULT;
|
||||
}
|
||||
|
||||
QDF_STATUS wlan_sap_update_next_channel(void *ctx, uint8_t channel,
|
||||
enum phy_ch_width chan_bw)
|
||||
QDF_STATUS wlan_sap_update_next_channel(struct sap_context *sap_ctx,
|
||||
uint8_t channel,
|
||||
enum phy_ch_width chan_bw)
|
||||
{
|
||||
struct sap_context *sap_ctx = CDS_GET_SAP_CB(ctx);
|
||||
|
||||
if (!sap_ctx) {
|
||||
QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_ERROR,
|
||||
"%s: Invalid SAP pointer", __func__);
|
||||
|
|
|
|||
Loading…
Reference in a new issue