From 59c208a70905fc6376383aa1e7f4f7c6811c69b3 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Mon, 26 Jul 2010 23:55:09 +0200 Subject: [PATCH] carl9170 firmware: speedup handle_rx Thanks to the improved rx processing in the driver, rx overruns should no longer happen that frequently. Also, The overrun detection might not be triggered in this code-path at all when the recv wlan queue has run dry. Signed-off-by: Christian Lamparter --- carlfw/src/wlan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/carlfw/src/wlan.c b/carlfw/src/wlan.c index d0adb59..9ef0ad8 100644 --- a/carlfw/src/wlan.c +++ b/carlfw/src/wlan.c @@ -572,8 +572,6 @@ static void handle_rx(void) { struct dma_desc *desc; - wlan_check_rx_overrun(); - for_each_desc_not_bits(desc, &fw.wlan.rx_queue, AR9170_OWN_BITS_HW) { if (unlikely(desc->totalLen < 26 || desc->totalLen > CONFIG_CARL9170FW_RX_FRAME_LEN)) { -- 2.31.1