diff options
author | bschmidt <bschmidt@FreeBSD.org> | 2011-05-08 10:54:50 +0000 |
---|---|---|
committer | bschmidt <bschmidt@FreeBSD.org> | 2011-05-08 10:54:50 +0000 |
commit | 84a991c0b4e333a47f695623cd3be268ece2815a (patch) | |
tree | 1fe39c1850b46be7b54746b0140027221ba2f5fd | |
parent | 93327753637f8ca70e13cc425da42724ede77e7c (diff) | |
download | FreeBSD-src-84a991c0b4e333a47f695623cd3be268ece2815a.zip FreeBSD-src-84a991c0b4e333a47f695623cd3be268ece2815a.tar.gz |
Allocate all TX rings, those will be use for TX packet aggregation.
-rw-r--r-- | sys/dev/iwn/if_iwn.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/iwn/if_iwn.c b/sys/dev/iwn/if_iwn.c index 3aa772b..e553c88 100644 --- a/sys/dev/iwn/if_iwn.c +++ b/sys/dev/iwn/if_iwn.c @@ -1489,13 +1489,6 @@ iwn_alloc_tx_ring(struct iwn_softc *sc, struct iwn_tx_ring *ring, int qid) __func__, error); goto fail; } - /* - * We only use rings 0 through 4 (4 EDCA + cmd) so there is no need - * to allocate commands space for other rings. - * XXX Do we really need to allocate descriptors for other rings? - */ - if (qid > 4) - return 0; size = IWN_TX_RING_COUNT * sizeof (struct iwn_tx_cmd); error = iwn_dma_contig_alloc(sc, &ring->cmd_dma, (void **)&ring->cmd, |