X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fmadwifi%2Fpatches%2F395-ath_ff_unmap.patch;fp=package%2Fmadwifi%2Fpatches%2F395-ath_ff_unmap.patch;h=595c43d5b16c088c5d0dadfe11e1dce8da373d4b;hb=35784d8fa82da285870a45bc85d8988b53ff061f;hp=0000000000000000000000000000000000000000;hpb=42ea3e39498b573569a6e3f0f9973feb8356505c;p=openwrt-10.03%2F.git 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 000000000..595c43d5b --- /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;