From ad18e109190d2c3e1a8deaf4cf2056f88fe17bcc Mon Sep 17 00:00:00 2001 From: Leo Chang Date: Sun, 16 Mar 2014 12:51:38 -0700 Subject: 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 --- CORE/CLD_TXRX/HTT/htt_rx.c | 1 + 1 file changed, 1 insertion(+) 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. -- cgit v1.2.3