]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Update device_connected and device_found events to latest API
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 17 Jan 2012 19:48:47 +0000 (21:48 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:28 +0000 (17:01 +0200)
commit165d7c53f77c79d49b9ec88b878ce8b03090a26c
tree405fdec148d9d10186acf0e0d121b987eb208f19
parent2cae9dd35fea78c72ca81c43ed76885f63ff459c
Bluetooth: Update device_connected and device_found events to latest API

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 <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
include/net/bluetooth/mgmt.h
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c