diff options
| author | Leo Chang <schang@qca.qualcomm.com> | 2014-03-16 12:51:38 -0700 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-03-18 22:20:28 -0700 |
| commit | ad18e109190d2c3e1a8deaf4cf2056f88fe17bcc (patch) | |
| tree | 27842ba20a0bb6b5bdd8124f99fd5eed933ebe5b | |
| parent | 770186f6611a2b94d39c407d2748c2f6302ea2d0 (diff) | |
qca-cld : HTT RX timer start crash fix
Timer restart when it's already running state, crash will happen.
To make sure timer state reset properly, before start timer,
By default cancle timer first.
Change-Id: Ief23b62f3cb4373aaa6f8b6d01dd06108981b8bf
CRs-fixed: 632413
| -rw-r--r-- | CORE/CLD_TXRX/HTT/htt_rx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CORE/CLD_TXRX/HTT/htt_rx.c b/CORE/CLD_TXRX/HTT/htt_rx.c index f284b8c68a22..8d1c440c3059 100644 --- a/CORE/CLD_TXRX/HTT/htt_rx.c +++ b/CORE/CLD_TXRX/HTT/htt_rx.c @@ -214,6 +214,7 @@ htt_rx_ring_fill_n(struct htt_pdev_t *pdev, int num) rx_netbuf = adf_nbuf_alloc(pdev->osdev, HTT_RX_BUF_SIZE, 0, 4, FALSE); if (!rx_netbuf) { + adf_os_timer_cancel(&pdev->rx_ring.refill_retry_timer); /* * Failed to fill it to the desired level - * we'll start a timer and try again next time. |
