carl9170 firmware: add comment about RX overrun recovery
authorChristian Lamparter <chunkeey@googlemail.com>
Fri, 13 Aug 2010 23:11:18 +0000 (01:11 +0200)
committerChristian Lamparter <chunkeey@googlemail.com>
Fri, 13 Aug 2010 23:11:18 +0000 (01:11 +0200)
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carlfw/src/wlan.c

index dc37a9f47586001cc5624b9f12ec50f9fdefec62..279aedd7d9b66addd4824b980bcf80d5c1cff3d6 100644 (file)
@@ -562,6 +562,11 @@ static void wlan_check_rx_overrun(void)
        fw.wlan.rx_overruns += overruns = get(AR9170_MAC_REG_RX_OVERRUN);
        if (unlikely(overruns)) {
                if (overruns == total) {
+                       /*
+                        * Theoretically, it should be enough to
+                        * trigger the WLAN RX DMA bit. But the
+                        * original firmware wanted a reset...
+                        */
                        DBG("RX Overrun");
                        fw.wlan.mac_reset++;
                }