diff options
author | Arend van Spriel <arend@broadcom.com> | 2013-03-03 11:45:29 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-03-06 21:28:44 (GMT) |
commit | 7f4bceecf0b4fb3190af47a775e48782952196a2 (patch) | |
tree | 88035a32ef90c73336414d00a2d073a58e5fd531 /drivers/net/wireless/brcm80211/brcmfmac/dhd_bus.h | |
parent | 349e7104ff662eeacca1fffbb480c287562c45a1 (diff) | |
download | linux-7f4bceecf0b4fb3190af47a775e48782952196a2.tar.xz |
brcmfmac: release transmit packet in brcmf_txcomplete()
In the bus-specific driver code each call to brcmf_txcomplete() is
following by a free of that packet. This patch moves that free to
the brcmf_txcomplete() function.
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Piotr Haber <phaber@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/dhd_bus.h')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmfmac/dhd_bus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/dhd_bus.h b/drivers/net/wireless/brcm80211/brcmfmac/dhd_bus.h index ad25c34..883ef90 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/dhd_bus.h +++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd_bus.h @@ -134,7 +134,7 @@ extern void brcmf_dev_reset(struct device *dev); /* Indication from bus module to change flow-control state */ extern void brcmf_txflowblock(struct device *dev, bool state); -/* Notify tx completion */ +/* Notify the bus has transferred the tx packet to firmware */ extern void brcmf_txcomplete(struct device *dev, struct sk_buff *txp, bool success); |