diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-02-18 16:43:51 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-18 16:43:51 -0500 |
commit | 1b68e676204927f69e987b86a99e19e61cc37dcc (patch) | |
tree | 6649cd203406aa3286d85d505106e058d5d5c338 /net | |
parent | 0f5cd45960173ba5b36727decbb4a241cbd35ef9 (diff) | |
parent | e9036e336a8e5640871e0006ea4a89982b25046f (diff) | |
download | kernel_samsung_espresso10-1b68e676204927f69e987b86a99e19e61cc37dcc.zip kernel_samsung_espresso10-1b68e676204927f69e987b86a99e19e61cc37dcc.tar.gz kernel_samsung_espresso10-1b68e676204927f69e987b86a99e19e61cc37dcc.tar.bz2 |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-2.6
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/rfcomm/tty.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bluetooth/rfcomm/tty.c b/net/bluetooth/rfcomm/tty.c index 2575c2d..d7b9af4 100644 --- a/net/bluetooth/rfcomm/tty.c +++ b/net/bluetooth/rfcomm/tty.c @@ -727,7 +727,9 @@ static int rfcomm_tty_open(struct tty_struct *tty, struct file *filp) break; } + tty_unlock(); schedule(); + tty_lock(); } set_current_state(TASK_RUNNING); remove_wait_queue(&dev->wait, &wait); |