2015-02-09 16:40:21

by Ujjal Roy

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

>> /* 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);


Thanks,
UjjaL Roy