r8152: fix the wrong return value
authorhayeswang <hayeswang@realtek.com>
Fri, 3 Jan 2014 03:21:56 +0000 (11:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Jan 2014 01:37:26 +0000 (20:37 -0500)
commit45ea3932e261af147187ceefb43456c7f8e3b288
tree6aa1bbce4f4f120e77df2ddbc8176d15630a2ca4
parentc018b7af5e9e59c19df39a86e3da58e6293d922b
r8152: fix the wrong return value

The return value should be the boolean value, not the error code.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Spotted-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c