Return-Path: MIME-Version: 1.0 In-Reply-To: References: <1308563100-18917-1-git-send-email-nami.li@atheros.com> <1308563100-18917-5-git-send-email-nami.li@atheros.com> Date: Tue, 21 Jun 2011 09:43:18 +0300 Message-ID: Subject: Re: [PATCH obexd 05/14] Server listen on both RFCOMM and L2CAP sockets. From: Luiz Augusto von Dentz To: "Li, Nami" Cc: "linux-bluetooth@vger.kernel.org" , "Liu, Haijun" , "Li, Steven" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Nami, On Tue, Jun 21, 2011 at 9:25 AM, Li, Nami wrote: > Hi, Luiz > ?Thanks for your reply. I understand and agree with your opinion. The "start_l2cap" and "l2cap_confirm_event" functions were written according to "start" and "confirm_event". > I just keep the parameters passed same with "start" and "confirm_event" functions. I find that "user_data" passed by "start" is also not used in "confirm_event". > I think keep same parameters is more unified on the structure. > What do you think ? I would fix the RFCOMM listen to pass service instead and completely remove the use of find_service. -- Luiz Augusto von Dentz