提交 e3bc8b4e 编写于 作者: D David Brownell 提交者: Greg Kroah-Hartman

[PATCH] USB: usbnet debug message fix

One debug message won't print the right value; OSDL bugid 4545.
Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 86dbde9c
......@@ -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 (
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册