Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108780
b: refs/heads/master
c: 6d558a5
h: refs/heads/master
v: v3
  • Loading branch information
Olivier Blin authored and Jeff Garzik committed Aug 14, 2008
1 parent f131fbb commit 2a4fa37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: add477df674db00377d9a4dc0d9b553ce79bc06d
refs/heads/master: 6d558a52ba295fc1c281c671d7daab2f74ddb4f2
2 changes: 1 addition & 1 deletion trunk/drivers/net/usb/hso.c
Original file line number Diff line number Diff line change
Expand Up @@ -1103,8 +1103,8 @@ static void hso_serial_close(struct tty_struct *tty, struct file *filp)
/* reset the rts and dtr */
/* do the actual close */
serial->open_count--;
kref_put(&serial->parent->ref, hso_serial_ref_free);
if (serial->open_count <= 0) {
kref_put(&serial->parent->ref, hso_serial_ref_free);
serial->open_count = 0;
if (serial->tty) {
serial->tty->driver_data = NULL;
Expand Down

0 comments on commit 2a4fa37

Please sign in to comment.