rtl8187: Fix error returns
authorLarry Finger <Larry.Finger@lwfinger.net>
Sun, 14 Dec 2008 00:09:56 +0000 (18:09 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Dec 2008 20:23:16 +0000 (15:23 -0500)
commitda9f57eade0a743450a201645db7fc5ac0809900
tree72a42581bc3f3f5157d06895ef56f8926456e63c
parent23827926eb5ce5cb944ebbd96d22297a2582d45d
rtl8187: Fix error returns

There are two places in the rtl8187 code where a routine was returning zero
(OK) when it should have been returning an error.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Acked-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8187_dev.c