This will send sabm command if PN_RSP will be received. --- emulator/bthost.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emulator/bthost.c b/emulator/bthost.c index ebf8789..96200a0 100644 --- a/emulator/bthost.c +++ b/emulator/bthost.c @@ -1516,6 +1516,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); } } -- 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