libusbhost: Fix breakage due to not storing dev_name in struct usb_device

Change-Id: Iefac9b31f900edb2dbd594f9eff9113b2038757d
Signed-off-by: Mike Lockwood <lockwood@android.com>
diff --git a/libusbhost/usbhost.c b/libusbhost/usbhost.c
index 6bdeebf..dba0b48 100644
--- a/libusbhost/usbhost.c
+++ b/libusbhost/usbhost.c
@@ -259,6 +259,7 @@
     if (length < 0)
         goto failed;
 
+    strncpy(device->dev_name, dev_name, sizeof(device->dev_name) - 1);
     device->fd = fd;
     device->desc_length = length;
     // assume we are writeable, since usb_device_get_fd will only return writeable fds