Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83282
b: refs/heads/master
c: 93d8074
h: refs/heads/master
v: v3
  • Loading branch information
Dave Young authored and David S. Miller committed Feb 5, 2008
1 parent 5e6ba8f commit 9026a71
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 6e46c8cb3cbfa7bafe78d43a3d57750605a2dfa3
refs/heads/master: 93d807401ced2320d0d1e56bf9de099bba5c0424
3 changes: 2 additions & 1 deletion trunk/net/bluetooth/rfcomm/tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,8 @@ static int rfcomm_release_dev(void __user *arg)
if (dev->tty)
tty_vhangup(dev->tty);

rfcomm_dev_del(dev);
if (!test_bit(RFCOMM_RELEASE_ONHUP, &dev->flags))
rfcomm_dev_del(dev);
rfcomm_dev_put(dev);
return 0;
}
Expand Down

0 comments on commit 9026a71

Please sign in to comment.