--- emulator/bthost.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emulator/bthost.c b/emulator/bthost.c index 1e2506e..391d6cd 100644 --- a/emulator/bthost.c +++ b/emulator/bthost.c @@ -1379,6 +1379,10 @@ static void rfcomm_disc_recv(struct bthost *bthost, struct btconn *conn, struct l2conn *l2conn, const void *data, uint16_t len) { + const struct rfcomm_cmd *hdr = data; + uint8_t dlci = RFCOMM_GET_DLCI(hdr->address); + + rfcomm_ua_send(bthost, conn, l2conn, 0, dlci); } static void rfcomm_ua_recv(struct bthost *bthost, struct btconn *conn, -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html