diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-06-17 12:57:25 -0300 |
---|---|---|
committer | Jaikumar Ganesh <jaikumar@google.com> | 2011-07-11 11:59:27 -0700 |
commit | 0e43af42876572976c15c1b732c8fdc593bbf93b (patch) | |
tree | c4ed10c2f0f4b9a6704a0b830894ad02f67f6ddb /net/bluetooth/l2cap_core.c | |
parent | bfdeb07dabe1aedb593b0bd9cdaa15842fbfc295 (diff) | |
download | kernel_samsung_tuna-0e43af42876572976c15c1b732c8fdc593bbf93b.zip kernel_samsung_tuna-0e43af42876572976c15c1b732c8fdc593bbf93b.tar.gz kernel_samsung_tuna-0e43af42876572976c15c1b732c8fdc593bbf93b.tar.bz2 |
Bluetooth: Fix bad locking balance
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 1f9364f..4597689 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c @@ -741,9 +741,9 @@ static void l2cap_conn_start(struct l2cap_conn *conn) &chan->conf_state)) { /* l2cap_chan_close() calls list_del(chan) * so release the lock */ - read_unlock_bh(&conn->chan_lock); + read_unlock(&conn->chan_lock); l2cap_chan_close(chan, ECONNRESET); - read_lock_bh(&conn->chan_lock); + read_lock(&conn->chan_lock); bh_unlock_sock(sk); continue; } |