diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-02-10 22:46:52 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:37:17 -0500 |
commit | 9c9dd2c9a42e8eb38b67f6c743c3d214664b8e2b (patch) | |
tree | e1cd6cb9afb57c7e15c66cd9f11ec6627e5e281b /crypto | |
parent | 0d84d78db5bad848e385cbb1e4ae2ea1f5f27641 (diff) |
rt2x00: Fix invalid DMA free
Be more strict when using the queue_entry_priv_pci_rx
and queue_entry_priv_pci_tx structures. Only use a
particular type that matches the queue type.
When freeing the DMA the priv_tx->data and priv_tx->dma
was used. This is incorrect since the start of the DMA
was in fact the priv_tx->desc pointer. Instead of
recalculating the dma_addr_t for the DMA start this
patch will swap the data and descriptor part of the
allocated memory.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions