brcmfmac: .txdata() bus callback should not call brcmf_txcomplete()
authorArend van Spriel <arend@broadcom.com>
Sat, 10 Aug 2013 10:27:20 +0000 (12:27 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 15 Aug 2013 20:07:52 +0000 (16:07 -0400)
commit04779fddeff723cf5afe529e4ed67fc86f25ba37
tree54b098098de348d01be3e1194c3a6fef25e6b5b2
parent4061f895088a2825b15312947aedb8574e2d8de5
brcmfmac: .txdata() bus callback should not call brcmf_txcomplete()

With firmware-signalling the packet handed to the bus specific driver
layer should not be discarded with brcmf_txcomplete() in the failure
path. Instead only an error is returned and the caller decides what
to do with the packet.

Reviewed-by: Hante Meuleman <meuleman@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>
drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c
drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c
drivers/net/wireless/brcm80211/brcmfmac/usb.c