commit | 421303a25aef04bb3d5431a4e6f4f6215bc772fe | [log] [tgz] |
---|---|---|
author | Anton Kochkov <anton.kochkov@gmail.com> | Wed Jun 20 03:57:18 2012 +0400 |
committer | Nico Huber <nico.huber@secunet.com> | Wed Jun 20 17:45:10 2012 +0200 |
tree | 871927330795b5931fe9fd5d54a0786cd3139ab3 | |
parent | 39b47d2b03c714ee49b96ba65e5d67ece5c33b7a [diff] [blame] |
libpayload: Fix detach_contoller in the USB driver Fixed usb controllers linked list walking in detach_controller() function Change-Id: Ia97c7ec814f75d2b1bfe185f160fb4cd32aa6fdb Signed-off-by: Anton Kochkov <anton.kochkov@gmail.com> Reviewed-on: http://review.coreboot.org/1105 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber <nico.huber@secunet.com>
diff --git a/payloads/libpayload/drivers/usb/usb.c b/payloads/libpayload/drivers/usb/usb.c index 07735a2..42c73f3 100644 --- a/payloads/libpayload/drivers/usb/usb.c +++ b/payloads/libpayload/drivers/usb/usb.c
@@ -63,6 +63,7 @@ it->next = controller->next; return; } + it = it->next; } } }