Thread (39 messages) 39 messages, 4 authors, 2012-01-19

Re: [PATCH 13/15] Bluetooth: Update device_connected and device_found events to latest API

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-01-18 19:17:11

Hi Johan,
This patch updates mgmt_ev_device_connected and mgmt_ev_device found to
include an EIR-encoded remote name and class whenever possible. With
this addition the mgmt_ev_remote_name event becomes unnecessary and can
be removed. Since the connected event doesn't map to hci_conn_complete
anymore a HCI_CONN_MGMT_CONNECTED flag is added to track when mgmt has
been notified about a connection.

Signed-off-by: Johan Hedberg <redacted>
---
 include/net/bluetooth/hci_core.h |    7 ++-
 include/net/bluetooth/mgmt.h     |   17 ++++----
 net/bluetooth/hci_event.c        |   78 +++++++++++++++++++++++++++-----------
 net/bluetooth/mgmt.c             |   56 ++++++++++++++++++++-------
 4 files changed, 110 insertions(+), 48 deletions(-)
Acked-by: Marcel Holtmann <marcel@holtmann.org>

Regards

Marcel

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help