]> Pileus Git - ~andy/linux/blobdiff - net/bluetooth/l2cap_core.c
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
[~andy/linux] / 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);
        }