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