Parcourir la source

qcacld-3.0: Fix compilation issue for legacy flow control

Fix compilation issue for legacy flow control
(CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY flag).

Change-Id: I2462d5b689ad6ea027411ff56c7550ab6036c0f4
CRs-Fixed: 2267924
Nirav Shah il y a 6 ans
Parent
commit
13ecbedb75
1 fichiers modifiés avec 2 ajouts et 4 suppressions
  1. 2 4
      core/dp/ol/inc/ol_txrx_ctrl_api.h

+ 2 - 4
core/dp/ol/inc/ol_txrx_ctrl_api.h

@@ -233,8 +233,7 @@ static inline void ol_txrx_peer_pause(struct ol_txrx_peer_t *data_peer)
  *
  * @param data_pdev - the physical device being paused
  */
-#if defined(QCA_LL_LEGACY_TX_FLOW_CONTROL) || \
-		defined(QCA_LL_TX_FLOW_CONTROL_V2) || defined(CONFIG_HL_SUPPORT)
+#if defined(QCA_LL_TX_FLOW_CONTROL_V2) || defined(CONFIG_HL_SUPPORT)
 
 void ol_txrx_pdev_pause(struct ol_txrx_pdev_t *data_pdev, uint32_t reason);
 #else
@@ -252,8 +251,7 @@ void ol_txrx_pdev_pause(struct ol_txrx_pdev_t *data_pdev, uint32_t reason)
  *
  * @param data_pdev - the physical device being unpaused
  */
-#if defined(QCA_LL_LEGACY_TX_FLOW_CONTROL) || \
-		defined(QCA_LL_TX_FLOW_CONTROL_V2) || defined(CONFIG_HL_SUPPORT)
+#if defined(QCA_LL_TX_FLOW_CONTROL_V2) || defined(CONFIG_HL_SUPPORT)
 
 void ol_txrx_pdev_unpause(struct ol_txrx_pdev_t *pdev, uint32_t reason);
 #else