From 13ecbedb753878e4791a890d784379ac7df4ee2a Mon Sep 17 00:00:00 2001 From: Nirav Shah Date: Tue, 26 Jun 2018 19:13:50 +0530 Subject: [PATCH] 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 --- core/dp/ol/inc/ol_txrx_ctrl_api.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/dp/ol/inc/ol_txrx_ctrl_api.h b/core/dp/ol/inc/ol_txrx_ctrl_api.h index 8d57d023f203..858d770b8abd 100644 --- a/core/dp/ol/inc/ol_txrx_ctrl_api.h +++ b/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