b43legacy: fix DMA mapping leakage
authorStefano Brivio <stefano.brivio@polimi.it>
Sun, 13 Apr 2008 22:59:49 +0000 (00:59 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 Apr 2008 19:04:36 +0000 (15:04 -0400)
commitdc4ae1f46dbbcd08b3b5e23ad5ef87bf4bb41adf
tree65909ff221f8eec95867a78d2687be82262ac2ef
parentb3fc9c6c58c986f7a24fd8b0794d1e0794935a28
b43legacy: fix DMA mapping leakage

This fixes a DMA mapping leakage in the case where we reject a DMA buffer
because of its address.
The patch by Michael Buesch has been ported to b43legacy.

Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
Cc: Christian Casteyde <casteyde.christian@free.fr>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43legacy/dma.c