[PATCH 21/42] build fix: fix retrun type for ath_buf_alloc
Oleksij Rempel
linux at rempel-privat.de
Mon Apr 1 02:51:13 EDT 2013
ath_buf_alloc is tx specific function. Rename it and fix return type
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 2860985..407f9f6 100755
--- a/target_firmware/wlan/if_owl.c
+++ b/target_firmware/wlan/if_owl.c
@@ -758,7 +758,7 @@ static struct ieee80211_node_target * ath_tgt_find_node(struct ath_softc_tgt *sc
return NULL;
}
-static struct ath_buf* ath_buf_alloc(struct ath_softc_tgt *sc)
+static struct ath_tx_buf* ath_tx_buf_alloc(struct ath_softc_tgt *sc)
{
struct ath_tx_buf *bf = NULL;
@@ -790,7 +790,7 @@ struct ath_tx_buf* ath_tgt_tx_prepare(struct ath_softc_tgt *sc,
return NULL;
}
- bf = ath_buf_alloc(sc);
+ bf = ath_tx_buf_alloc(sc);
if (!bf) {
__stats(sc, tx_nobufs);
return NULL;
--
1.8.1.2
More information about the Ath9k_htc_fw
mailing list