mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 07:22:25 +02:00
madwifi: fix fast-frame related dma unmap bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14192 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
42ea3e3949
commit
35784d8fa8
11
package/madwifi/patches/395-ath_ff_unmap.patch
Normal file
11
package/madwifi/patches/395-ath_ff_unmap.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/ath/if_ath.c
|
||||
+++ b/ath/if_ath.c
|
||||
@@ -13508,7 +13508,7 @@ cleanup_ath_buf(struct ath_softc *sc, st
|
||||
bus_unmap_single(
|
||||
sc->sc_bdev,
|
||||
bf->bf_skbaddrff[i],
|
||||
- (direction == BUS_DMA_TODEVICE ?
|
||||
+ (direction == BUS_DMA_FROMDEVICE ?
|
||||
sc->sc_rxbufsize : ffskb->len),
|
||||
direction);
|
||||
bf->bf_skbaddrff[i] = 0;
|
Loading…
Reference in New Issue
Block a user