r8152: give the device version

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>
This commit is contained in:
Oliver Neukum 2017-06-12 13:56:51 +02:00 committed by David S. Miller
parent 97d8b6e3b8
commit eb3c28c155

View File

@ -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;
}