Re: [PATCH 1/2] Bluetooth: Add Fixed Channels support to bind syscall.

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

 



On Tue, Jul 13, 2010 at 2:26 PM, Anderson Lizardo
<anderson.lizardo@xxxxxxxxxxxxx> wrote:
> If sk->sport is always filled with either cid or psm , why not have
> just a single "__l2cap_sock_addr"  function ?

In other words, my suggestion is to keep __l2cap_get_sock_by_addr() as
is (as it already checks for sport) and use it both for PSM and CID.
This could potentially allow a bit of refactoring on the
l2cap_sock_bind() changes as well.

Regards,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
--
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