brcmfmac: handle all exceptions as an error.
authorHante Meuleman <meuleman@broadcom.com>
Wed, 10 Oct 2012 18:13:06 +0000 (11:13 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Oct 2012 18:42:53 +0000 (14:42 -0400)
commite270b302e4771cde91e713ae17da31c1afc9a135
tree358bf386be787dfe34ae00a1336c4bffe32c6e8c
parent4045f72bcf3c293c7c5932ef001742d8bb5ded76
brcmfmac: handle all exceptions as an error.

in brcmf_usb_probe_cb only return code ENOLINK was seen as an
error. This is wrong, all error codes should be returned to usb
subsystem.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/usb.c