summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath5k
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2008-11-21 02:15:13 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-11-25 22:13:08 +0100
commitb4b6cda2298b0c9a0af902312184b775b8867c65 (patch)
tree7357a39a07d5cb7a4360161fb8acaa09a198c77d /drivers/net/wireless/ath5k
parentath9k: Fix SW-IOMMU bounce buffer starvation (diff)
downloadlinux-b4b6cda2298b0c9a0af902312184b775b8867c65.tar.xz
linux-b4b6cda2298b0c9a0af902312184b775b8867c65.zip
ath9k: correct expected max RX buffer size
We should only tell the hardware its capable of DMA'ing to us only what we asked dev_alloc_skb(). Prior to this it is possible a large RX'd frame could have corrupted DMA data but for us but we were saved only because we were previously also pci_map_single()'ing the same large value. The issue prior to this though was we were unmapping a smaller amount which the prior DMA patch fixed. Signed-off-by: Bennyam Malavazi <Bennyam.Malavazi@atheros.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath5k')
0 files changed, 0 insertions, 0 deletions