mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-16 16:54:38 +08:00
emulator/bthost: Add implementation to PN RSP
This will send sabm command if PN_RSP will be received.
This commit is contained in:
parent
287c075913
commit
37a1b0fa3d
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user