From: Andrzej Kaczmarek <andrzej.kaczmarek@codecoup.pl>
To: linux-bluetooth@vger.kernel.org
Cc: Andrzej Kaczmarek <andrzej.kaczmarek@codecoup.pl>
Subject: [PATCH BlueZ] monitor: Allow Ellisys injection when reading from TTY
Date: Thu, 19 Jul 2018 20:34:30 +0200 [thread overview]
Message-ID: <20180719183430.9334-1-andrzej.kaczmarek@codecoup.pl> (raw)
---
monitor/control.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/monitor/control.c b/monitor/control.c
index 150bdcc44..1b62001fa 100644
--- a/monitor/control.c
+++ b/monitor/control.c
@@ -1307,6 +1307,8 @@ static void tty_callback(int fd, uint32_t events, void *user_data)
btsnoop_write_hci(btsnoop_file, tv, 0, opcode, drops,
hdr->ext_hdr + hdr->hdr_len, pktlen);
+ ellisys_inject_hci(tv, 0, opcode, hdr->ext_hdr + hdr->hdr_len,
+ pktlen);
packet_monitor(tv, NULL, 0, opcode,
hdr->ext_hdr + hdr->hdr_len, pktlen);
--
2.18.0
next reply other threads:[~2018-07-19 18:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-19 18:34 Andrzej Kaczmarek [this message]
2018-07-20 10:27 ` [PATCH BlueZ] monitor: Allow Ellisys injection when reading from TTY Luiz Augusto von Dentz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180719183430.9334-1-andrzej.kaczmarek@codecoup.pl \
--to=andrzej.kaczmarek@codecoup.pl \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.