diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-22 11:53:05 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-22 11:53:05 -0800 |
commit | d3bd1b4c89cceca42211cd5bd30508b903267229 (patch) | |
tree | ab3459496e3c9d8b1904b440b1a19c72ff23b3f0 /net/bluetooth/rfcomm/tty.c | |
parent | 28801f351f76231e8d1e378274d6d56a577b897e (diff) | |
parent | 0bf719dfdecc5552155cbec78e49fa06e531e35c (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Diffstat (limited to 'net/bluetooth/rfcomm/tty.c')
-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 2575c2db640..d7b9af4703d 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); |