mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
usb_buf: Properly initialize buffered_endpoint->ep number
The number is used only in print statements, and it's always '0' so far. Change-Id: Id147e24d9d50c274fec963f00494cb20e2360b33
This commit is contained in:
@@ -101,5 +101,6 @@ void usb_buf_init(void)
|
||||
for (i = 0; i < ARRAY_SIZE(usb_buffered_ep); i++) {
|
||||
struct usb_buffered_ep *ep = &usb_buffered_ep[i];
|
||||
INIT_LLIST_HEAD(&ep->queue);
|
||||
ep->ep = i;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user