Re: [PATCH BlueZ] Add support for blacklisting events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Antti,

On Thu, Jul 28, 2011, Antti Julku wrote:
> 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.
> ---
>  lib/mgmt.h        |   10 +++++++++
>  plugins/mgmtops.c |   54 +++++++++++++++++++++++++++++++++++++++++++++++++++++
>  src/device.c      |   27 +++++++++++++++----------
>  src/device.h      |    5 ++++
>  src/event.c       |   26 +++++++++++++++++++++++++
>  src/event.h       |    2 +
>  6 files changed, 113 insertions(+), 11 deletions(-)

Applied. Thanks.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux