Browse Source

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
Jeff Johnson 6 years ago
parent
commit
9fa537773a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/hdd/inc/wlan_hdd_tx_rx.h

+ 2 - 2
core/hdd/inc/wlan_hdd_tx_rx.h

@@ -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)
 {
 }