]> err.no Git - linux-2.6/commit
[PATCH] USB: fix pegasus driver
authorKevin Vigor <kevin@realmsys.com>
Thu, 22 Sep 2005 07:49:24 +0000 (00:49 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 22 Sep 2005 14:58:26 +0000 (07:58 -0700)
commita85a46f2c38def5150251816890393803fdae7d0
tree98cfbc561911ee869d29a30b40847fae15bd65f1
parent4b2e790a4d73d729d936cc42f3b08af34f8ea5c6
[PATCH] USB: fix pegasus driver

Addresses some small bugs in the pegasus ethernet-over-USB driver.
Specifically, malformed long packets from the adapter could cause a kernel
panic; the interrupt interval calculation was inappropriate for high-speed
devices; the return code from read_mii_word was tested incorrectly; and
failure to unlink outstanding URBs before freeing them could lead to kernel
panics when unloading the driver.

Signed-off-by: Kevin Vigor <kevin@realmsys.com>
Cc: Petko Manolov <petkan@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/usb/net/pegasus.c