summaryrefslogtreecommitdiffstats
path: root/drivers/usb/net
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2005-06-15 08:04:30 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-27 14:44:04 -0700
commite3bc8b4e00d0ce219165d469409f2770698574f6 (patch)
treeaf3e7f072eef6e6f10f2037aa524fea783354c01 /drivers/usb/net
parent86dbde9cbdfe8bc2c2dfe5d33027d3acc55e0470 (diff)
downloadlinux-e3bc8b4e00d0ce219165d469409f2770698574f6.tar.bz2
[PATCH] USB: usbnet debug message fix
One debug message won't print the right value; OSDL bugid 4545. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/net')
-rw-r--r--drivers/usb/net/usbnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/net/usbnet.c b/drivers/usb/net/usbnet.c
index 4cbb408af727..8a945f4f3693 100644
--- a/drivers/usb/net/usbnet.c
+++ b/drivers/usb/net/usbnet.c
@@ -1429,7 +1429,7 @@ static int generic_cdc_bind (struct usbnet *dev, struct usb_interface *intf)
info->ether = (void *) buf;
if (info->ether->bLength != sizeof *info->ether) {
dev_dbg (&intf->dev, "CDC ether len %u\n",
- info->u->bLength);
+ info->ether->bLength);
goto bad_desc;
}
dev->net->mtu = le16_to_cpup (