diff options
author | adrian <adrian@FreeBSD.org> | 2013-04-16 20:21:02 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-04-16 20:21:02 +0000 |
commit | 2f4d81f0936ee8936392573dd361b4260a1f393c (patch) | |
tree | 57b3bd010a7d2d5144c5d19e957a431bafc1a9e5 /sys/dev/ath/if_ath.c | |
parent | b7d87713059123f7e6706ff57039292bbbff0ef0 (diff) | |
download | FreeBSD-src-2f4d81f0936ee8936392573dd361b4260a1f393c.zip FreeBSD-src-2f4d81f0936ee8936392573dd361b4260a1f393c.tar.gz |
Use a per-RX-queue deferred list, rather than a single deferred list for
both queues.
Since ath_rx_pkt() does multi-mbuf frame recombining based on the RX queue,
this needs to occur.
Tested:
* AR9380 (XB112), hostap mode
Diffstat (limited to 'sys/dev/ath/if_ath.c')
-rw-r--r-- | sys/dev/ath/if_ath.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index c0d002d..85e2b4e 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -842,7 +842,8 @@ ath_attach(u_int16_t devid, struct ath_softc *sc) /* * Initialise the deferred completed RX buffer list. */ - TAILQ_INIT(&sc->sc_rx_rxlist); + TAILQ_INIT(&sc->sc_rx_rxlist[HAL_RX_QUEUE_HP]); + TAILQ_INIT(&sc->sc_rx_rxlist[HAL_RX_QUEUE_LP]); /* * Indicate we need the 802.11 header padded to a |