Skip to content

Commit

Permalink
r8152: give the device version
Browse files Browse the repository at this point in the history
Getting the device version out of the driver really aids debugging.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
oneukum authored and davem330 committed Jun 13, 2017
1 parent 97d8b6e commit eb3c28c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/usb/r8152.c
Original file line number Diff line number Diff line change
Expand Up @@ -4368,6 +4368,8 @@ static u8 rtl_get_version(struct usb_interface *intf)
break;
}

dev_dbg(&intf->dev, "Detected version 0x%04x\n", version);

return version;
}

Expand Down

0 comments on commit eb3c28c

Please sign in to comment.