brcmfmac: correct success flag passed by brcmf_sdbrcm_txpkt()
authorArend van Spriel <arend@broadcom.com>
Wed, 3 Apr 2013 10:40:26 +0000 (12:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Apr 2013 19:07:02 +0000 (15:07 -0400)
commita886f7f4e4d4fcc2ce153b67d1fe69377fd7ede3
tree9d5ccbb0401dec1081d4195a99346d436c44a4e3
parent2a2ac7561a1114d312baec413a79751b2914dc9b
brcmfmac: correct success flag passed by brcmf_sdbrcm_txpkt()

The function brcmf_sdbrcm_txpkt() calls brcmf_txcomplete() with
a parameter success. For this parameter it passes ret != 0, but
that condition is true upon failure.

Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Piotr Haber <phaber@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@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/dhd_sdio.c