Explorar o código

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 %!s(int64=7) %!d(string=hai) anos
pai
achega
13ecbedb75
Modificáronse 1 ficheiros con 2 adicións e 4 borrados
  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
  * @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);
 void ol_txrx_pdev_pause(struct ol_txrx_pdev_t *data_pdev, uint32_t reason);
 #else
 #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
  * @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);
 void ol_txrx_pdev_unpause(struct ol_txrx_pdev_t *pdev, uint32_t reason);
 #else
 #else