Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25597
b: refs/heads/master
c: 6dde432
h: refs/heads/master
i:
  25595: b5549f0
v: v3
  • Loading branch information
Matthias Urlichs authored and Linus Torvalds committed Apr 11, 2006
1 parent e490a04 commit cc17ee7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 397eeab321e87d8c1ef928b58f256513e6f481dc
refs/heads/master: 6dde432553551ae036aae12c2b940677d36c9a5b
5 changes: 3 additions & 2 deletions trunk/drivers/usb/serial/option.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
2005-09-10 v0.4.3 added HUAWEI E600 card and Audiovox AirCard
2005-09-20 v0.4.4 increased recv buffer size: the card sometimes
wants to send >2000 bytes.
2006-04-10 v0.4.2 fixed two array overrun errors :-/
Work sponsored by: Sigos GmbH, Germany <info@sigos.de>
Expand Down Expand Up @@ -582,14 +583,14 @@ static void option_setup_urbs(struct usb_serial *serial)
portdata = usb_get_serial_port_data(port);

/* Do indat endpoints first */
for (j = 0; j <= N_IN_URB; ++j) {
for (j = 0; j < N_IN_URB; ++j) {
portdata->in_urbs[j] = option_setup_urb (serial,
port->bulk_in_endpointAddress, USB_DIR_IN, port,
portdata->in_buffer[j], IN_BUFLEN, option_indat_callback);
}

/* outdat endpoints */
for (j = 0; j <= N_OUT_URB; ++j) {
for (j = 0; j < N_OUT_URB; ++j) {
portdata->out_urbs[j] = option_setup_urb (serial,
port->bulk_out_endpointAddress, USB_DIR_OUT, port,
portdata->out_buffer[j], OUT_BUFLEN, option_outdat_callback);
Expand Down

0 comments on commit cc17ee7

Please sign in to comment.