From e197563f7c7cc7b2d0d20f49c011c0464c2465c6 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 20 Sep 2013 00:26:55 +0300 Subject: [PATCH] emulator/bthost: Add Disconnect request support for LE --- emulator/bthost.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emulator/bthost.c b/emulator/bthost.c index 03d5d7599..384dd7cd6 100644 --- a/emulator/bthost.c +++ b/emulator/bthost.c @@ -997,6 +997,11 @@ static void l2cap_le_sig(struct bthost *bthost, struct btconn *conn, data + sizeof(*hdr), hdr_len); break; + case BT_L2CAP_PDU_DISCONN_REQ: + ret = l2cap_disconn_req(bthost, conn, hdr->ident, + data + sizeof(*hdr), hdr_len); + break; + case BT_L2CAP_PDU_CONN_PARAM_REQ: ret = l2cap_conn_param_req(bthost, conn, hdr->ident, data + sizeof(*hdr), hdr_len); -- 2.47.3