[PATCH v5 39/39] bluetooth: Revive module-bluetooth-discover

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

 



On Tue, 2013-09-24 at 16:16 -0700, Fox, Kevin M wrote:
> Is there a reason that the struct is:
> +struct userdata {
> +    pa_module *bluez5_module;
> +    pa_module *bluez4_module;
> +};
> 
> and not:
> +struct userdata {
> +    pa_module *bluez_module;
> +};
> 
> The code might be cleaner looking with the latter struct.

Yes, there is a reason for the code being how it is. We want
module-bluetooth-discover to load two modules, if support for both
bluez4 and bluez5 is compiled in, but in your suggestion only one module
can be loaded.

-- 
Tanu



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux