From: Gustavo Padovan Date: Fri, 7 Dec 2012 05:29:10 +0000 (-0200) Subject: Bluetooth: Add missing braces to an "else if" X-Git-Tag: firefly_0821_release~176^2~5420^2~84^2^2~54^2~22 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1c244f79c0d6abf8634faedb9b042122481c3572;p=firefly-linux-kernel-4.4.55.git Bluetooth: Add missing braces to an "else if" Trivial change in the coding style. Signed-off-by: Gustavo Padovan --- diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 8c3499bec893..b3bb7bca8e60 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); }