From: Luis R. Rodriguez Date: Fri, 21 Nov 2008 01:15:13 +0000 (-0800) Subject: ath9k: correct expected max RX buffer size X-Git-Tag: v2.6.28-rc8~73^2~10^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4b6cda2298b0c9a0af902312184b775b8867c65;p=pandora-kernel.git 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 Signed-off-by: Luis R. Rodriguez Signed-off-by: John W. Linville --- Reading git-diff-tree failed