ath5k: use tasklet_hi_schedule for beacon queue
authorBob Copeland <me@bobcopeland.com>
Wed, 15 Apr 2009 11:57:33 +0000 (07:57 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:57:14 +0000 (16:57 -0400)
For embedded platforms, beacon transmission can be starved when
flooded with data packets.  Prioritize beacons by giving the beacon
queue the first shot when the isr completes.

Changes-licensed-under: 3-Clause-BSD

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c

index ff6d4f839734a556735c6c866905a9f3565af491..ef8523e418e298c087aef441c62572405af58f78 100644 (file)
@@ -2496,7 +2496,7 @@ ath5k_intr(int irq, void *dev_id)
                        tasklet_schedule(&sc->restq);
                } else {
                        if (status & AR5K_INT_SWBA) {
-                               tasklet_schedule(&sc->beacontq);
+                               tasklet_hi_schedule(&sc->beacontq);
                        }
                        if (status & AR5K_INT_RXEOL) {
                                /*