emulator/bthost: Add implementation to PN RSP

This will send sabm command if PN_RSP will be received.
This commit is contained in:
Marcin Kraglak 2014-01-10 10:18:26 +01:00 committed by Johan Hedberg
parent 287c075913
commit 37a1b0fa3d

View File

@ -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);
}
}