diff options
-rw-r--r-- | emulator/bthost.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/emulator/bthost.c b/emulator/bthost.c index 59a6b8d67..ec6f6aa52 100644 --- a/emulator/bthost.c +++ b/emulator/bthost.c @@ -1650,6 +1650,9 @@ static void rfcomm_pn_recv(struct bthost *bthost, struct btconn *conn, rfcomm_fcs(buf); send_acl(bthost, conn->handle, l2conn->dcid, buf, sizeof(buf)); + } else if (bthost->rfcomm_conn_data) { + rfcomm_sabm_send(bthost, conn, l2conn, + 1, bthost->rfcomm_conn_data->channel * 2); } } |