Commit: 396607837a6440a242a8cc52683690eccfb86ea6
Parent: 14ca2df11b804718748af68576edd397528f6bdf
Author: Antti Julku <antti.julku@nokia.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-09-01 16:02:10
Tree: f124728efe0ce390d626dcb3de0a44fec8d4de0c

Add support for blacklisting events Add support for mgmt interface events for device blocking/unblocking. Kernel sends a mgmt event when a device has been blocked by another management socket or with ioctl command (e.g. by hciconfig). Parameter update_only is added to device_block/unblock functions in device.c to avoid code copying. When update_only is true, blocking command is not sent to kernel, but only device status is updated and dbus signal is sent.

Diffstat

M lib/mgmt.h | 10 ++++++++++
M plugins/mgmtops.c | 54 ++++++++++++++++++++++++++++++++++++++++
M src/device.c | 27 ++++++++++++++++- - - - - - - - - - -
M src/device.h | 5 +++++
M src/event.c | 26 ++++++++++++++++++++++++++
M src/event.h | 2 ++

6 files changed, 113 insertions(+), 11 deletions(-)

View Full Diff | Patch