brcmfmac: Return correct error on netdev xmit.
authorHante Meuleman <meuleman@broadcom.com>
Wed, 2 Jan 2013 14:22:49 +0000 (15:22 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Jan 2013 20:16:58 +0000 (15:16 -0500)
commit80fd2dbee00edcd19fb8c04a12dbeefc55533f2e
tree5b3b1aa154847461ce81f60d22413dee2bed9f81
parent03abad08bb837650feb2bd7581ef14c8a1c51964
brcmfmac: Return correct error on netdev xmit.

Netdev xmit routine brcfm_netdev_start_xmit was defined
incorrectly and used wrong return codes. Always eat the
packet and return ok. Remove drvr_up check since it is not
relevant.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-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_linux.c