diff options
| author | kaliu <kaliu@qti.qualcomm.com> | 2016-02-29 01:12:04 +0800 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-03-01 14:44:46 +0530 |
| commit | d8ced369bd3cccba6d4d3ff3ae61822ebe704e1e (patch) | |
| tree | 2d020da5b7e566e0fd90cc5cd56393db425b3274 | |
| parent | e385eb527907e72d91a856ac81edcc22f8b1fa92 (diff) | |
qcacld-2.0: when flush txq in sheduler use same tid to ref the txq
currently txq of MCAST_BCAST packet is using tid
HTT_TX_EXT_TID_NON_QOS_MCAST_BCAST when inserted into scheduler,
so use same tid when flush
Change-Id: I7b32e518e9e31a65ec96daeaabd3b9a79d3e1693
CRs-Fixed: 979681
| -rw-r--r-- | CORE/CLD_TXRX/TXRX/ol_tx_queue.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/CORE/CLD_TXRX/TXRX/ol_tx_queue.c b/CORE/CLD_TXRX/TXRX/ol_tx_queue.c index bf993d3667de..2cb50e219470 100644 --- a/CORE/CLD_TXRX/TXRX/ol_tx_queue.c +++ b/CORE/CLD_TXRX/TXRX/ol_tx_queue.c @@ -111,7 +111,15 @@ ol_tx_queue_vdev_flush(struct ol_txrx_pdev_t *pdev, struct ol_txrx_vdev_t *vdev) /* flush VDEV TX queues */ for (i = 0; i < OL_TX_VDEV_NUM_QUEUES; i++) { txq = &vdev->txqs[i]; - ol_tx_queue_free(pdev, txq, (i + OL_TX_NUM_TIDS)); + /* + * currently txq of MCAST_BCAST packet is using tid + * HTT_TX_EXT_TID_NON_QOS_MCAST_BCAST when instered into scheduler, + * so use same tid when flush + */ + if (i == 0) + ol_tx_queue_free(pdev, txq, HTT_TX_EXT_TID_NON_QOS_MCAST_BCAST); + else + ol_tx_queue_free(pdev, txq, (i + OL_TX_NUM_TIDS)); } /* flush PEER TX queues */ do { |
