Re: [PATCH] Bluetooth: Fix registering HCI devices with duplicate name

Andrei Emeltchenko
2012-04-13T08:29:56Z

On Thu, Apr 12, 2012 at 02:39:57PM +0300, Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
>
> When adding HCI devices hci_register_dev assigns the same name
> hci1 for subsequently added AMP devices. This is modified version
> of Marcel Holtmann patch.
>
> ...
> [ 6958.381886] sysfs: cannot create duplicate filename
> '/devices/virtual/bluetooth/hci1

Please do not consider this patch. I think bitmask approach is better.

Best regards
Andrei Emeltchenko