diff options
author | Anton Kochkov <anton.kochkov@gmail.com> | 2012-06-20 03:57:18 +0400 |
---|---|---|
committer | Nico Huber <nico.huber@secunet.com> | 2012-06-20 17:45:10 +0200 |
commit | 421303a25aef04bb3d5431a4e6f4f6215bc772fe (patch) | |
tree | 871927330795b5931fe9fd5d54a0786cd3139ab3 /payloads/libpayload | |
parent | 39b47d2b03c714ee49b96ba65e5d67ece5c33b7a (diff) |
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>
Diffstat (limited to 'payloads/libpayload')
-rw-r--r-- | payloads/libpayload/drivers/usb/usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/drivers/usb/usb.c b/payloads/libpayload/drivers/usb/usb.c index 07735a2097..42c73f345e 100644 --- a/payloads/libpayload/drivers/usb/usb.c +++ b/payloads/libpayload/drivers/usb/usb.c @@ -63,6 +63,7 @@ detach_controller (hci_t *controller) it->next = controller->next; return; } + it = it->next; } } } |