projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace USB encoded 'u32 endp' scheme with explicit struct fields.
[seabios.git]
/
src
/
usb-hub.c
diff --git
a/src/usb-hub.c
b/src/usb-hub.c
index da7d9f8b3fec161074602250ff186497570d239d..ce40099cd32564e505ff6afef7996f2935a9c9d6 100644
(file)
--- a/
src/usb-hub.c
+++ b/
src/usb-hub.c
@@
-168,7
+168,7
@@
usb_hub_init(struct usb_pipe *pipe)
struct usbhub_s hub;
memset(&hub, 0, sizeof(hub));
hub.pipe = pipe;
- hub.cntl =
endp2cntl(pipe->endp)
;
+ hub.cntl =
pipe->cntl
;
hub.powerwait = desc.bPwrOn2PwrGood * 2;
// Launch a thread for every port.