Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179099
b: refs/heads/master
c: 0e0367e
h: refs/heads/master
i:
  179097: 4b0963f
  179095: bd5711d
v: v3
  • Loading branch information
Jan Dumon authored and David S. Miller committed Jan 7, 2010
1 parent ebd63ce commit 8676d9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 68a351c501ad22077a969df157cd13367cb43a40
refs/heads/master: 0e0367e980b55629917f3dd5f5f0ccbf3d0dab62
4 changes: 4 additions & 0 deletions trunk/drivers/net/usb/hso.c
Original file line number Diff line number Diff line change
Expand Up @@ -1723,6 +1723,10 @@ static int hso_serial_tiocmset(struct tty_struct *tty, struct file *file,
D1("no tty structures");
return -EINVAL;
}

if ((serial->parent->port_spec & HSO_PORT_MASK) != HSO_PORT_MODEM)
return -EINVAL;

if_num = serial->parent->interface->altsetting->desc.bInterfaceNumber;

spin_lock_irqsave(&serial->serial_lock, flags);
Expand Down

0 comments on commit 8676d9f

Please sign in to comment.