Re: [PATCH 2/2] adapter: Set default adapter id sooner

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

 



On Wednesday 06 February 2013 09:57:44 Marcel Holtmann wrote:

Hi Marcel,
 
> > When first adapter is registered set it as default before probing
> > drivers or profiles as those might depend on that e.g. hostname.
> > 
> > This fix hostname plugin setting default adapter name to 'foo #1'
> > instead of 'foo' if pretty hostname was received before probing
> > adapter drivers.
> 
> you find an issue that I meant to fix, but never got around so far. So I
> do not like the magic default_adapter_id global variable.
> 
> I would prefer if we add a is_default or similar variable to btd_adapter
> and make it change if one adapter goes away.

OK, will send v2 which address that.

-- 
Szymon K. Janc
szymon@xxxxxxxxxxx
--
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