qcacld-3.0: Fix hdd_register_tx_flow_control() prototype

The prototype for hdd_register_tx_flow_control() does not exactly
match either the documentation or the implementation, so rename the
flowControl parameter to be consistent, as well as to be compliant
with the coding standard.

Change-Id: I2a65fc78febef5bd44b38e0b7ff3fa5968a6e214
CRs-Fixed: 2422193
This commit is contained in:
Jeff Johnson
2019-03-23 09:58:21 -07:00
committed by nshrivas
orang tua 06878b3a80
melakukan 9fa537773a

Melihat File

@@ -210,7 +210,7 @@ bool hdd_tx_flow_control_is_pause(void *adapter_context);
*/
void hdd_register_tx_flow_control(struct hdd_adapter *adapter,
qdf_mc_timer_callback_t timer_callback,
ol_txrx_tx_flow_control_fp flowControl,
ol_txrx_tx_flow_control_fp flow_control_fp,
ol_txrx_tx_flow_control_is_pause_fp flow_control_is_pause);
void hdd_deregister_tx_flow_control(struct hdd_adapter *adapter);
void hdd_get_tx_resource(struct hdd_adapter *adapter,
@@ -226,7 +226,7 @@ static inline bool hdd_tx_flow_control_is_pause(void *adapter_context)
}
static inline void hdd_register_tx_flow_control(struct hdd_adapter *adapter,
qdf_mc_timer_callback_t timer_callback,
ol_txrx_tx_flow_control_fp flowControl,
ol_txrx_tx_flow_control_fp flow_control_fp,
ol_txrx_tx_flow_control_is_pause_fp flow_control_is_pause)
{
}