qcacld-3.0: Remove wlan_sap_set_pre_cac_status() handle param

Function wlan_sap_set_pre_cac_status() currently takes as one
parameter a tHalHandle handle.  This handle is converted into a MAC
context pointer. That MAC context pointer is then tested for NULL but
is otherwise unused.  Since the MAC context, and hence the handle, are
unnecessary, remove them.

This is part of an ongoing campaign to remove or replace all instances
of tHalHandle.

Change-Id: I1c280be8c7c65a28267a9ab38d76fb8aa94e48af
CRs-Fixed: 2347653
Esse commit está contido em:
Jeff Johnson
2018-10-30 07:18:49 -07:00
commit de nshrivas
commit 6ccbec1f48
3 arquivos alterados com 4 adições e 13 exclusões

Ver arquivo

@@ -951,14 +951,13 @@ QDF_STATUS wlan_sap_update_next_channel(struct sap_context *sap_ctx,
* wlan_sap_set_pre_cac_status() - Set the pre cac status
* @sap_ctx: SAP context
* @status: Status of pre cac
* @handle: Global MAC handle
*
* Sets the pre cac status in the MAC context and updates the state
* Updates the state of pre cac in the SAP context
*
* Return: QDF_STATUS
*/
QDF_STATUS wlan_sap_set_pre_cac_status(struct sap_context *sap_ctx,
bool status, tHalHandle handle);
bool status);
/**
* wlan_sap_set_chan_before_pre_cac() - Save the channel before pre cac