Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303951
b: refs/heads/master
c: 66afb5b
h: refs/heads/master
i:
  303949: 26f116e
  303947: 33be15e
  303943: 0dcbcf1
  303935: 9a32d3d
v: v3
  • Loading branch information
Greg Kroah-Hartman committed May 15, 2012
1 parent 54dac83 commit 9380da9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 6971113e1000d24f7d4975eaa6f8cf2739a4565b
refs/heads/master: 66afb5b535fe34cd6b33d2ef45aac24fac9370f8
7 changes: 4 additions & 3 deletions trunk/drivers/usb/serial/aircable.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,14 @@ static int aircable_probe(struct usb_serial *serial,
for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) {
endpoint = &iface_desc->endpoint[i].desc;
if (usb_endpoint_is_bulk_out(endpoint)) {
dbg("found bulk out on endpoint %d", i);
dev_dbg(&serial->dev->dev,
"found bulk out on endpoint %d\n", i);
++num_bulk_out;
}
}

if (num_bulk_out == 0) {
dbg("Invalid interface, discarding");
dev_dbg(&serial->dev->dev, "Invalid interface, discarding\n");
return -ENODEV;
}

Expand All @@ -133,7 +134,7 @@ static int aircable_process_packet(struct tty_struct *tty,
packet += HCI_HEADER_LENGTH;
}
if (len <= 0) {
dbg("%s - malformed packet", __func__);
dev_dbg(&port->dev, "%s - malformed packet\n", __func__);
return 0;
}

Expand Down

0 comments on commit 9380da9

Please sign in to comment.