diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-10-30 04:03:56 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-10-30 04:04:16 +0100 |
commit | b133254dc1c782eedbeca0d3e89520211b909f24 (patch) | |
tree | 0492b88e6ef411d5982377e39285f6895ac7bfb3 /monitor/hcidump.c | |
parent | 2cdea86e270d6a6bc9e88ac0aefde39185a3f92b (diff) | |
download | bluez-b133254dc1c782eedbeca0d3e89520211b909f24.tar.gz |
monitor: Add support for handling SCM_CREDENTIALS if present
Diffstat (limited to 'monitor/hcidump.c')
-rw-r--r-- | monitor/hcidump.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/monitor/hcidump.c b/monitor/hcidump.c index e910c5eca..bef1338f9 100644 --- a/monitor/hcidump.c +++ b/monitor/hcidump.c @@ -160,17 +160,19 @@ static void device_callback(int fd, uint32_t events, void *user_data) switch (buf[0]) { case HCI_COMMAND_PKT: - packet_hci_command(tv, data->index, buf + 1, len - 1); + packet_hci_command(tv, NULL, data->index, + buf + 1, len - 1); break; case HCI_EVENT_PKT: - packet_hci_event(tv, data->index, buf + 1, len - 1); + packet_hci_event(tv, NULL, data->index, + buf + 1, len - 1); break; case HCI_ACLDATA_PKT: - packet_hci_acldata(tv, data->index, !!dir, + packet_hci_acldata(tv, NULL, data->index, !!dir, buf + 1, len - 1); break; case HCI_SCODATA_PKT: - packet_hci_scodata(tv, data->index, !!dir, + packet_hci_scodata(tv, NULL, data->index, !!dir, buf + 1, len - 1); break; } |