diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-12-07 03:29:10 -0200 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-07-25 14:15:23 +0100 |
commit | 1c244f79c0d6abf8634faedb9b042122481c3572 (patch) | |
tree | f73a0921eab8b218c4befe7092f31d0cc4aa6b3f /net/bluetooth/l2cap_core.c | |
parent | a767631ad1c2e785f4a8fcad26bcf50eb5786373 (diff) | |
download | op-kernel-dev-1c244f79c0d6abf8634faedb9b042122481c3572.zip op-kernel-dev-1c244f79c0d6abf8634faedb9b042122481c3572.tar.gz |
Bluetooth: Add missing braces to an "else if"
Trivial change in the coding style.
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 8c3499be..b3bb7bc 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c @@ -1415,8 +1415,9 @@ static void l2cap_conn_ready(struct l2cap_conn *conn) sk->sk_state_change(sk); release_sock(sk); - } else if (chan->state == BT_CONNECT) + } else if (chan->state == BT_CONNECT) { l2cap_do_start(chan); + } l2cap_chan_unlock(chan); } |