projects
/
librecmc
/
open-ath9k-htc-firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
011f13b
)
build fix: fix retrun type for ath_buf_alloc
author
Oleksij Rempel
<linux@rempel-privat.de>
Sun, 31 Mar 2013 15:38:11 +0000
(17:38 +0200)
committer
Oleksij Rempel
<linux@rempel-privat.de>
Sun, 31 Mar 2013 18:05:35 +0000
(20:05 +0200)
ath_buf_alloc is tx specific function. Rename it and fix return type
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/if_owl.c
patch
|
blob
|
history
diff --git
a/target_firmware/wlan/if_owl.c
b/target_firmware/wlan/if_owl.c
index 28609858b0f6561cd08497237d67ca74a37cca01..407f9f64011de413a80e0457532ec38fd86dbc95 100755
(executable)
--- 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;