carl9170 firmware: speedup handle_rx
authorChristian Lamparter <chunkeey@googlemail.com>
Mon, 26 Jul 2010 21:55:09 +0000 (23:55 +0200)
committerChristian Lamparter <chunkeey@googlemail.com>
Mon, 26 Jul 2010 21:55:09 +0000 (23:55 +0200)
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 <chunkeey@googlemail.com>
carlfw/src/wlan.c

index d0adb5964dfcd999e1e8ac1d8a80ee5187234f1a..9ef0ad8b1991cad358071c2b0946c47d31563381 100644 (file)
@@ -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)) {