]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1480961f31c19a2d6a53e532ef32c3305c32f3b
tree5cb6a3e3adee6e3ba26d3b64f19f0812306554a0
parent71324afb7decdbc626ad06d17250e0b9139053f8
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