[PATCH 22/31] build fix: use struct ath_tx_buf for ath_dma_map and ath_dma_unmap

Oleksij Rempel linux at rempel-privat.de
Fri Mar 29 05:01:56 EDT 2013


Signed-off-by: Oleksij Rempel <linux at rempel-privat.de>
---
 target_firmware/wlan/if_owl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target_firmware/wlan/if_owl.c b/target_firmware/wlan/if_owl.c
index e80d240..764572f 100755
--- a/target_firmware/wlan/if_owl.c
+++ b/target_firmware/wlan/if_owl.c
@@ -187,7 +187,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;
 
@@ -195,7 +195,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;
 
-- 
1.8.1.2




More information about the Ath9k_htc_fw mailing list