From: Oleksij Rempel Date: Sun, 31 Mar 2013 16:05:18 +0000 (+0200) Subject: build fix: use ath_tx_buf in ath_update_stats X-Git-Tag: 1.3.2~10^2~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=92be02c80522e3af3434840e5d62819d8d7b0fe9;p=librecmc%2Fopen-ath9k-htc-firmware.git build fix: use ath_tx_buf in ath_update_stats Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/if_owl.c b/target_firmware/wlan/if_owl.c index 6a278e5..08c4b96 100755 --- a/target_firmware/wlan/if_owl.c +++ b/target_firmware/wlan/if_owl.c @@ -106,7 +106,7 @@ static a_int32_t ath_tgt_txbuf_setup(struct ath_softc_tgt *sc, struct ath_tx_buf *bf, ath_data_hdr_t *dh); static void ath_tx_freebuf(struct ath_softc_tgt *sc, struct ath_tx_buf *bf); static void ath_tx_uc_comp(struct ath_softc_tgt *sc, struct ath_tx_buf *bf); -static void ath_update_stats(struct ath_softc_tgt *sc, struct ath_buf *bf); +static void ath_update_stats(struct ath_softc_tgt *sc, struct ath_tx_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); @@ -1020,7 +1020,7 @@ ath_tx_uc_comp(struct ath_softc_tgt *sc, struct ath_tx_buf *bf) } static void -ath_update_stats(struct ath_softc_tgt *sc, struct ath_buf *bf) +ath_update_stats(struct ath_softc_tgt *sc, struct ath_tx_buf *bf) { struct ath_tx_desc *ds = bf->bf_desc; u_int32_t sr, lr;