Re: [PATCH] Bluetooth: Restrict access for raw-only controllers

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

 



Hi Marcel,

On Sun, Jun 29, 2014, Marcel Holtmann wrote:
> Bluetooth controllers that are marked for raw-only usage can only be
> used with user channel access. Any other operation should be rejected.
> 
> This simplifies the whole raw-only support since it now depends on
> the fact that the controller is marked with HCI_QUIRK_RAW_DEVICE and
> runtime raw access is restricted to user channel operation.
> 
> The kernel internal processing of HCI commands and events is designed
> around the case that either the kernel has full control over the device
> or that the device is driven from userspace. This now makes a clear
> distinction between these two possible operation modes.
> 
> Signed-off-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>
> ---
>  net/bluetooth/hci_conn.c |  7 -----
>  net/bluetooth/hci_core.c | 74 +++++++++++++++++++++++++++++++++++++-----------
>  net/bluetooth/hci_sock.c | 14 ++++++---
>  net/bluetooth/mgmt.c     |  6 +++-
>  4 files changed, 72 insertions(+), 29 deletions(-)

Applied to bluetooth-next. 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