Re: [PATCH BlueZ] audio: Separate profile specific fields from media_transport

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

 



Hi Lucas,

On Mon, Jun 11, 2012 at 6:16 PM, Lucas De Marchi
<lucas.demarchi@xxxxxxxxxxxxxx> wrote:
>> +       if (transport->destroy != NULL)
>> +               transport->destroy(transport);
>
> IMO it would be better to pass transport->data here and eliminate
> "transport->data" assignment above in the destroy functions.

That was my idea, but since destroy_headset need access to the device
it was just simpler to just pass the transport itself. Not a big deal
IMO since this in the same file, but I guess I will just store the
device inside the headset_transport.

-- 
Luiz Augusto von Dentz
--
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