Skip unexpected descriptors

This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2010-08-01 23:08:03 +02:00
1 parent fafc23e90a
commit 443a6c4b21
2 files changed
+17 -2

No files matched your search

+6
View File
@@ -31,6 +31,12 @@ typedef enum {
GRUB_USB_DESCRIPTOR_HUB = 0x29
} grub_usb_descriptor_t;
struct grub_usb_desc
{
grub_uint8_t length;
grub_uint8_t type;
} __attribute__ ((packed));
struct grub_usb_desc_device
{
grub_uint8_t length;