Bluetooth: Add missing braces to an "else if"
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 7 Dec 2012 05:29:10 +0000 (03:29 -0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 25 Jul 2013 13:15:23 +0000 (14:15 +0100)
Trivial change in the coding style.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_core.c

index 8c3499bec89319289073b2f1e7f3f202cd179ca6..b3bb7bca8e606439edbd9f9838bb8021200bb28c 100644 (file)
@@ -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);
        }