brcmfmac: assure brcmf_txcomplete() is called in failure paths
authorArend van Spriel <arend@broadcom.com>
Sun, 3 Mar 2013 11:45:30 +0000 (12:45 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Mar 2013 21:28:46 +0000 (16:28 -0500)
commit6fc9ca138515880cc038b9588bd3637e66743343
tree84b8f428d0af6f7284a315327897a385b5ff71f9
parent7f4bceecf0b4fb3190af47a775e48782952196a2
brcmfmac: assure brcmf_txcomplete() is called in failure paths

For transmit packets the function brcmf_txcomplete() must be
called. This should be done as well when for some reason the
transmit fails to assure proper tx post processing. This patch
fixes the code paths in brcmf_usb_tx() that forgot to do so.

Reviewed-by: Piotr Haber <phaber@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/usb.c