Browse Source

Bluetooth: Add missing braces to an "else if"

Trivial change in the coding style.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Gustavo Padovan 12 years ago
parent
commit
1c244f79c0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      net/bluetooth/l2cap_core.c

+ 2 - 1
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);
 	}