ath9k: fix switching channel bandwidth from 5/10 back to 20mhz
[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;
This page took 0.048375 seconds and 5 git commands to generate.