Diff between 8127bfb8954e81ecdcb22bc24a4c21a3fcc9e93d and e197563f7c7cc7b2d0d20f49c011c0464c2465c6

Changed Files

File Additions Deletions Status
emulator/bthost.c +5 -0 modified

Full Patch

diff --git a/emulator/bthost.c b/emulator/bthost.c
index 03d5d75..384dd7c 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);