Skip to content
Snippets Groups Projects
Commit 4d8c79b7 authored by Grant Grundler's avatar Grant Grundler Committed by David S. Miller
Browse files

net: usb: log errors to dmesg/syslog


Errors in protocol should be logged when the driver aborts operations.
If the driver can carry on and "humor" the device, then emitting
the message as debug output level is fine.

Signed-off-by: default avatarGrant Grundler <grundler@chromium.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 492bbe7f
No related branches found
No related tags found
No related merge requests found
......@@ -887,7 +887,7 @@ int usbnet_open (struct net_device *net)
// insist peer be connected
if (info->check_connect && (retval = info->check_connect (dev)) < 0) {
netif_dbg(dev, ifup, dev->net, "can't open; %d\n", retval);
netif_err(dev, ifup, dev->net, "can't open; %d\n", retval);
goto done;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment