pegasus: Handle disconnect error code correctly.
authorOliver Neukum <oliver@neukum.org>
Fri, 17 Apr 2009 08:40:19 +0000 (01:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Apr 2009 08:40:19 +0000 (01:40 -0700)
commit9dd014eb9804f19d6230c3cbc10fa25f5416bda7
tree87f15f1cbb7cf1a2295ae5583a8856c6e0c4c38d
parent62bcaa13039538c7f794b0cfcbc26e0313e7fcd5
pegasus: Handle disconnect error code correctly.

EPERM means that disconnect() is runnung. It should be treated like
ENODEV

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/pegasus.c