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

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

 



Hi Ujjal,

>>> /* Clear flags */
>>> - hdev->flags = 0;
>>> + hdev->flags &= BIT(HCI_RAW);
> 
> Is it for clearing the HCI_RAW flag? If so then it should be as below
> am I right?
> 
>  /* Clear flags */
> - hdev->flags = 0;
> + hdev->flags &= ~BIT(HCI_RAW);

this is for clearing all flags except the HCI_RAW bit.

Regards

Marcel

--
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