From caeec77a5300fd4032d0ae53c0e0c0a0e334fa9d Mon Sep 17 00:00:00 2001 From: "Gustavo F. Padovan" Date: Wed, 8 Jun 2011 19:09:13 -0300 Subject: [PATCH] --- yaml --- r: 255825 b: refs/heads/master c: b569450682e944653f307b47c549ca12150d4596 h: refs/heads/master i: 255823: b0bd64a4b89d21d40fd236ab71376efbf54712a6 v: v3 --- [refs] | 2 +- trunk/net/bluetooth/l2cap_core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 995aaad82b54..615bcd4b863d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1a09bcb97ca1b4eb9a6ea381fbc3beb7a9d2895d +refs/heads/master: b569450682e944653f307b47c549ca12150d4596 diff --git a/trunk/net/bluetooth/l2cap_core.c b/trunk/net/bluetooth/l2cap_core.c index 3b31a1f1f020..cb68b27edc9b 100644 --- a/trunk/net/bluetooth/l2cap_core.c +++ b/trunk/net/bluetooth/l2cap_core.c @@ -4127,7 +4127,7 @@ static int l2cap_disconn_ind(struct hci_conn *hcon) BT_DBG("hcon %p", hcon); - if (hcon->type != ACL_LINK || !conn) + if ((hcon->type != ACL_LINK && hcon->type != LE_LINK) || !conn) return 0x13; return conn->disc_reason;