projects
/
open-ath9k-htc-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build fix: sc_txbuf_held is ath_tx_buf
[open-ath9k-htc-firmware.git]
/
target_firmware
/
wlan
/
if_owl.c
diff --git
a/target_firmware/wlan/if_owl.c
b/target_firmware/wlan/if_owl.c
index f2c3b2fade8799fa33feea37cd721e7a4fe4ed3f..2b901fa6a4441e58b3b75a9f18113533ed67d574 100755
(executable)
--- a/
target_firmware/wlan/if_owl.c
+++ b/
target_firmware/wlan/if_owl.c
@@
-110,8
+110,6
@@
static void ath_update_stats(struct ath_softc_tgt *sc, struct ath_buf *bf);
void adf_print_buf(adf_nbuf_t buf);
static void ath_tgt_tx_enqueue(struct ath_txq *txq, struct ath_atx_tid *tid);
void adf_print_buf(adf_nbuf_t buf);
static void ath_tgt_tx_enqueue(struct ath_txq *txq, struct ath_atx_tid *tid);
-struct ath_buf * ath_tgt_tx_prepare(struct ath_softc_tgt *sc,
- adf_nbuf_t skb, ath_data_hdr_t *dh);
void ath_tgt_tx_comp_aggr(struct ath_softc_tgt *sc, struct ath_tx_buf *bf);
struct ieee80211_frame *ATH_SKB_2_WH(adf_nbuf_t skb);
void ath_tgt_tx_comp_aggr(struct ath_softc_tgt *sc, struct ath_tx_buf *bf);
struct ieee80211_frame *ATH_SKB_2_WH(adf_nbuf_t skb);
@@
-222,7
+220,7
@@
static a_uint32_t ath_pkt_duration(struct ath_softc_tgt *sc,
return duration;
}
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;
{
adf_nbuf_t skb = bf->bf_skb;
@@
-230,7
+228,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);
}
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;
{
adf_nbuf_t skb = bf->bf_skb;
@@
-775,7
+773,7
@@
static struct ath_buf* ath_buf_alloc(struct ath_softc_tgt *sc)
return bf;
}
return bf;
}
-struct ath_buf* ath_tgt_tx_prepare(struct ath_softc_tgt *sc,
+struct ath_
tx_
buf* ath_tgt_tx_prepare(struct ath_softc_tgt *sc,
adf_nbuf_t skb, ath_data_hdr_t *dh)
{
struct ath_tx_buf *bf;
adf_nbuf_t skb, ath_data_hdr_t *dh)
{
struct ath_tx_buf *bf;