rtlwifi: pass rx setup error code to caller
authorChristian Lamparter <chunkeey@googlemail.com>
Sun, 14 Oct 2012 20:15:48 +0000 (22:15 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Oct 2012 17:18:07 +0000 (13:18 -0400)
commit0c7e92075f6e61bfc90ec2664c034b04bc157315
tree5cb6a3e3adee6e3ba26d3b64f19f0812306554a0
parent290eddc4b3661dc4dfa95d199e0be5788928b3b1
rtlwifi: pass rx setup error code to caller

If _rtl_usb_receive fails, the device is
probably not ready. Hence the error code
should be passed to the caller, so it can
react accordingly and notify the user.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/usb.c