diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2013-04-16 20:21:02 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2013-04-16 20:21:02 +0000 |
commit | 5d4dedadb67381a9837f8205aa1c77c060a11b83 (patch) | |
tree | 57b3bd010a7d2d5144c5d19e957a431bafc1a9e5 /sys/dev/ath/if_ath.c | |
parent | 9a796b22f6e76e70cfd9ee24182eeb7895e9b656 (diff) | |
download | src-5d4dedadb67381a9837f8205aa1c77c060a11b83.tar.gz src-5d4dedadb67381a9837f8205aa1c77c060a11b83.zip |
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
Notes
Notes:
svn path=/head/; revision=249565
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 c0d002d248ba..85e2b4e86abd 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 |