Commit 56d2ac76 authored by Bob Copeland's avatar Bob Copeland Committed by John W. Linville

ath5k: use tasklet_hi_schedule for beacon queue

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: default avatarBob Copeland <me@bobcopeland.com>
Acked-by: default avatarNick Kossifidis <mickflemm@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 77ded01c
...@@ -2496,7 +2496,7 @@ ath5k_intr(int irq, void *dev_id) ...@@ -2496,7 +2496,7 @@ ath5k_intr(int irq, void *dev_id)
tasklet_schedule(&sc->restq); tasklet_schedule(&sc->restq);
} else { } else {
if (status & AR5K_INT_SWBA) { if (status & AR5K_INT_SWBA) {
tasklet_schedule(&sc->beacontq); tasklet_hi_schedule(&sc->beacontq);
} }
if (status & AR5K_INT_RXEOL) { if (status & AR5K_INT_RXEOL) {
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment