* grub-core/bus/usb/usb.c (grub_usb_device_attach): Add missing
grub_print_error.
This commit is contained in:
parent
e42b99698c
commit
cfe1288b8d
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-02-01 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/bus/usb/usb.c (grub_usb_device_attach): Add missing
|
||||
grub_print_error.
|
||||
|
||||
2013-02-01 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/bus/usb/serial/common.c (grub_usbserial_attach): Fix missing
|
||||
|
|
|
@ -297,14 +297,18 @@ void grub_usb_device_attach (grub_usb_device_t dev)
|
|||
{
|
||||
case GRUB_USB_CLASS_MASS_STORAGE:
|
||||
grub_dl_load ("usbms");
|
||||
grub_print_error ();
|
||||
break;
|
||||
case GRUB_USB_CLASS_HID:
|
||||
grub_dl_load ("usb_keyboard");
|
||||
grub_print_error ();
|
||||
break;
|
||||
case 0xff:
|
||||
/* FIXME: don't load useless modules. */
|
||||
grub_dl_load ("usbserial_ftdi");
|
||||
grub_print_error ();
|
||||
grub_dl_load ("usbserial_pl2303");
|
||||
grub_print_error ();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue