From: Oleksij Rempel Date: Thu, 28 Mar 2013 15:44:08 +0000 (+0100) Subject: build fix: use struct ath_tx_buf for ath_dma_map and ath_dma_unmap X-Git-Tag: 1.3.2~12^2~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a45bc253697e1979785457b4f1c19dcd8d532378;p=librecmc%2Fopen-ath9k-htc-firmware.git build fix: use struct ath_tx_buf for ath_dma_map and ath_dma_unmap Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/if_owl.c b/target_firmware/wlan/if_owl.c index f2c3b2f..aa09b1e 100755 --- a/target_firmware/wlan/if_owl.c +++ b/target_firmware/wlan/if_owl.c @@ -222,7 +222,7 @@ static a_uint32_t ath_pkt_duration(struct ath_softc_tgt *sc, return duration; } -static void ath_dma_map(struct ath_softc_tgt *sc, struct ath_buf *bf) +static void ath_dma_map(struct ath_softc_tgt *sc, struct ath_tx_buf *bf) { adf_nbuf_t skb = bf->bf_skb; @@ -230,7 +230,7 @@ static void ath_dma_map(struct ath_softc_tgt *sc, struct ath_buf *bf) adf_nbuf_map(sc->sc_dev, bf->bf_dmamap, skb, ADF_OS_DMA_TO_DEVICE); } -static void ath_dma_unmap(struct ath_softc_tgt *sc, struct ath_buf *bf) +static void ath_dma_unmap(struct ath_softc_tgt *sc, struct ath_tx_buf *bf) { adf_nbuf_t skb = bf->bf_skb;