summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDARAM SUDHA <dsudha@qti.qualcomm.com>2015-03-02 17:59:57 +0530
committerAnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com>2015-03-04 17:07:27 +0530
commitb2ad2cd0bcce2c5524de88fa6eb61b1ae3811d03 (patch)
tree0c98b5feda28e6019360ce9ba0ff99ae732f41b8
parentbf66aacac7c6a5ed5daf8619c59885fbed878e16 (diff)
qcacld: fix ROME-SIDO compilation issue.
suspend-resume pause/unpausing is based on LL_TXQ flag control. As the macro is not defined in CAF branch, move the new calls under the macro to fix the compilation issue. Change-Id: I09c8b328dc69180f42f21361ef528aafab441904 CRs-Fixed: 801771
-rw-r--r--CORE/CLD_TXRX/TXRX/ol_tx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/CORE/CLD_TXRX/TXRX/ol_tx.c b/CORE/CLD_TXRX/TXRX/ol_tx.c
index ff0d49335605..f4e4444535e5 100644
--- a/CORE/CLD_TXRX/TXRX/ol_tx.c
+++ b/CORE/CLD_TXRX/TXRX/ol_tx.c
@@ -382,16 +382,16 @@ ol_tx_pdev_ll_pause_queue_send_all(struct ol_txrx_pdev_t *pdev)
void ol_tx_vdev_ll_pause_queue_send(void *context)
{
+#ifdef QCA_SUPPORT_TXRX_VDEV_LL_TXQ
struct ol_txrx_vdev_t *vdev = (struct ol_txrx_vdev_t *) context;
-#ifdef QCA_SUPPORT_TXRX_VDEV_LL_TXQ
if (vdev->pdev->tx_throttle.current_throttle_level != THROTTLE_LEVEL_0 &&
vdev->pdev->tx_throttle.current_throttle_phase == THROTTLE_PHASE_OFF) {
return;
}
-#endif
ol_tx_vdev_ll_pause_queue_send_base(vdev);
+#endif
}
static inline int