kaweth: Clean up code
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 9 Apr 2009 07:11:55 +0000 (07:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Apr 2009 22:44:35 +0000 (15:44 -0700)
commit710b523ac59426e8bfdea3533f42118e46b9cbfb
tree49f41b4ab6fc8404da5638db06eacf765bd302b9
parent54cb2284dce50672c40248b8e95940318ec2ca41
kaweth: Clean up code

The driver kaweth yields a -EBUSY error when starting, and a -ETIME
error when shutting down. These errors are avoided, and the RX status
is further checked for other potential errors.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/kaweth.c