Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 59052
b: refs/heads/master
c: 84950cf
h: refs/heads/master
v: v3
  • Loading branch information
Mikko Rapeli authored and Marcel Holtmann committed Jul 11, 2007
1 parent c7cb853 commit b575ccc
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: 924f0e4a06419fa1996425d1d2512030e43acbba
refs/heads/master: 84950cf0ba02fd6a5defe2511bc41f9aa2237632
4 changes: 4 additions & 0 deletions trunk/net/bluetooth/rfcomm/tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,10 @@ static int rfcomm_release_dev(void __user *arg)
if (req.flags & (1 << RFCOMM_HANGUP_NOW))
rfcomm_dlc_close(dev->dlc, 0);

/* Shut down TTY synchronously before freeing rfcomm_dev */
if (dev->tty)
tty_vhangup(dev->tty);

rfcomm_dev_del(dev);
rfcomm_dev_put(dev);
return 0;
Expand Down

0 comments on commit b575ccc

Please sign in to comment.