Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3bc8b4e authored by David Brownell's avatar David Brownell Committed by Greg Kroah-Hartman
Browse files

[PATCH] USB: usbnet debug message fix



One debug message won't print the right value; OSDL bugid 4545.

Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 86dbde9c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1429,7 +1429,7 @@ static int generic_cdc_bind (struct usbnet *dev, struct usb_interface *intf)
			info->ether = (void *) buf;
			info->ether = (void *) buf;
			if (info->ether->bLength != sizeof *info->ether) {
			if (info->ether->bLength != sizeof *info->ether) {
				dev_dbg (&intf->dev, "CDC ether len %u\n",
				dev_dbg (&intf->dev, "CDC ether len %u\n",
					info->u->bLength);
					info->ether->bLength);
				goto bad_desc;
				goto bad_desc;
			}
			}
			dev->net->mtu = le16_to_cpup (
			dev->net->mtu = le16_to_cpup (