Return-Path: MIME-Version: 1.0 In-Reply-To: References: <1314805732-30418-1-git-send-email-frederic.dalleau@linux.intel.com> <1314805732-30418-3-git-send-email-frederic.dalleau@linux.intel.com> Date: Tue, 6 Sep 2011 10:51:16 +0200 Message-ID: Subject: Re: [PATCH v4 2/4] Fix asynchronously run request stream cb From: "Dalleau, Frederic" To: Luiz Augusto von Dentz Cc: =?ISO-8859-1?Q?Fr=E9d=E9ric_Dalleau?= , linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Luiz, >> + ? ? ? g_set_error(&gerr, BT_IO_ERROR, BT_IO_ERROR_FAILED, "Closed"); > > We should probably create its own error domain instead of reusing > BT_IO_ERROR, besides that it looks ok. Should this domain be specific to gateway.c or more generic ? Thanks, Fr?d?ric