aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/generic
Commit message (Expand)AuthorAgeFilesLines
* mpc85xx: Add subtargets Generic and P1020Gabor Juhos2013-04-262-0/+6
id='n11' href='#n11'>11
--- a/ath/if_ath.c
+++ b/ath/if_ath.c
@@ -13527,7 +13527,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;