projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
madwifi: fix several noderef and ibss merge issues that led to memory leaks and high...
[oweals/openwrt.git]
/
package
/
madwifi
/
patches
/
395-ath_ff_unmap.patch
1
--- a/ath/if_ath.c
2
+++ b/ath/if_ath.c
3
@@ -13534,7 +13534,7 @@ cleanup_ath_buf(struct ath_softc *sc, st
4
bus_unmap_single(
5
sc->sc_bdev,
6
bf->bf_skbaddrff[i],
7
- (direction == BUS_DMA_TODEVICE ?
8
+ (direction == BUS_DMA_FROMDEVICE ?
9
sc->sc_rxbufsize : ffskb->len),
10
direction);
11
bf->bf_skbaddrff[i] = 0;