aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/l2cap_core.c
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-05-16 15:11:44 -0400
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-05-16 15:11:44 -0400
commit08e6d907fe606b751adddce54ad8f51e0950bc3f (patch)
tree1a987f519b1ea706a61cd23d7eeea038dfe81b7a /net/bluetooth/l2cap_core.c
parentd34c34fb2592bd5231a153ad1676c3ded175410a (diff)
parent671267bf3aac3dae0555730b07ef29c042e325b2 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
-rw-r--r--net/bluetooth/l2cap_core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
index 7adfcecf7a5e..3714c9656459 100644
--- a/net/bluetooth/l2cap_core.c
+++ b/net/bluetooth/l2cap_core.c
@@ -4916,6 +4916,11 @@ int l2cap_security_cfm(struct hci_conn *hcon, u8 status, u8 encrypt)
4916 4916
4917 if (!status && (chan->state == BT_CONNECTED || 4917 if (!status && (chan->state == BT_CONNECTED ||
4918 chan->state == BT_CONFIG)) { 4918 chan->state == BT_CONFIG)) {
4919 struct sock *sk = chan->sk;
4920
4921 bt_sk(sk)->suspended = false;
4922 sk->sk_state_change(sk);
4923
4919 l2cap_check_encryption(chan, encrypt); 4924 l2cap_check_encryption(chan, encrypt);
4920 l2cap_chan_unlock(chan); 4925 l2cap_chan_unlock(chan);
4921 continue; 4926 continue;