diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-11-17 03:54:33 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-11-17 03:54:33 +0000 |
commit | 6995dcc3312b5f16b726fa88757b67604e26ef36 (patch) | |
tree | 0b254ee8dc36605bd0d116859270c50d8e31bb4b /package/broadcom-wl/src/kmod/linux_osl.c | |
parent | 9f41f4cfb36a2cbcae41068dea9c98083516dd9b (diff) | |
download | upstream-6995dcc3312b5f16b726fa88757b67604e26ef36.tar.gz upstream-6995dcc3312b5f16b726fa88757b67604e26ef36.tar.bz2 upstream-6995dcc3312b5f16b726fa88757b67604e26ef36.zip |
upgrade to broadcom wl driver version 4.80.53.0 (from wrt350n release)
SVN-Revision: 5546
Diffstat (limited to 'package/broadcom-wl/src/kmod/linux_osl.c')
-rw-r--r-- | package/broadcom-wl/src/kmod/linux_osl.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/package/broadcom-wl/src/kmod/linux_osl.c b/package/broadcom-wl/src/kmod/linux_osl.c index d702961032..24fd77daea 100644 --- a/package/broadcom-wl/src/kmod/linux_osl.c +++ b/package/broadcom-wl/src/kmod/linux_osl.c @@ -159,13 +159,18 @@ osl_pktget(osl_t *osh, uint len, bool send) return ((void*) skb); } +typedef void (*pktfree_cb_fn_t)(void *ctx, void *pkt, uint16 status); /* Free the driver packet. Free the tag if present */ void -osl_pktfree(osl_t *osh, void *p) +osl_pktfree(osl_t *osh, void *p, bool send) { struct sk_buff *skb, *nskb; + pktfree_cb_fn_t tx_fn = osh->pub.tx_fn; skb = (struct sk_buff*) p; + + if (send && tx_fn) + tx_fn(osh->pub.tx_ctx, p, 0); /* perversion: we use skb->next to chain multi-skb packets */ while (skb) { |