diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-01-26 00:27:40 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-01-26 00:27:40 +0000 |
commit | da475964fe01113e279114a0bb1eb64ba32f3f00 (patch) | |
tree | 41466f3f37364d7b3d74e25984532a7944824861 /package/madwifi | |
parent | fe27fd568e998994834818e925b4ffd5e398d462 (diff) | |
download | upstream-da475964fe01113e279114a0bb1eb64ba32f3f00.tar.gz upstream-da475964fe01113e279114a0bb1eb64ba32f3f00.tar.bz2 upstream-da475964fe01113e279114a0bb1eb64ba32f3f00.zip |
madwifi: fix fast-frame related dma unmap bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14192 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-rw-r--r-- | package/madwifi/patches/395-ath_ff_unmap.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/madwifi/patches/395-ath_ff_unmap.patch b/package/madwifi/patches/395-ath_ff_unmap.patch new file mode 100644 index 0000000000..595c43d5b1 --- /dev/null +++ b/package/madwifi/patches/395-ath_ff_unmap.patch @@ -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; |