* grub-core/bus/usb/usbhub.c: Fix recheck logic.
This commit is contained in:
parent
6f80a7b231
commit
efa8640adb
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-07-11 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/bus/usb/usbhub.c: Fix recheck logic.
|
||||
|
||||
2013-07-11 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/grub-mkfont.c (write_font_ascii_bitmap): Fix handling of glyphs
|
||||
|
|
|
@ -688,10 +688,12 @@ grub_usb_poll_devices (int wait_for_completion)
|
|||
* addressed properly, timeout happened */
|
||||
hub->controller->dev->pending_reset = 0;
|
||||
npending--;
|
||||
speed = hub->controller->dev->detect_dev (hub->controller,
|
||||
i, &changed);
|
||||
}
|
||||
}
|
||||
if (!hub->controller->dev->pending_reset)
|
||||
speed = hub->controller->dev->detect_dev (hub->controller,
|
||||
i, &changed);
|
||||
|
||||
if (changed)
|
||||
{
|
||||
detach_device (hub->devices[i]);
|
||||
|
|
Loading…
Reference in a new issue