Return-Path: MIME-Version: 1.0 In-Reply-To: References: <1435320003-14720-1-git-send-email-luiz.dentz@gmail.com> Date: Mon, 29 Jun 2015 10:59:59 +0300 Message-ID: Subject: Re: [PATCH BlueZ] core/advertising: Fix using wrong instance id From: Luiz Augusto von Dentz To: "Othman, Ossama" Cc: "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi, On Fri, Jun 26, 2015 at 10:33 PM, Luiz Augusto von Dentz wrote: > Hi Ossama, > > On Fri, Jun 26, 2015 at 9:08 PM, Othman, Ossama wrote: >> Hi Luiz, >> >> On Fri, Jun 26, 2015 at 5:00 AM, Luiz Augusto von Dentz >> wrote: >>> From: Luiz Augusto von Dentz >>> >>> The instance id shall be limited to the number of instance the kernel >>> support, and since this will probably be quite small the ids should be >>> reused once the client unregistered. >>> --- >>> src/advertising.c | 12 +++++++----- >>> 1 file changed, 7 insertions(+), 5 deletions(-) >>> ... >> >> This patch appears to address the problem I was seeing with the failed >> advertisement registration. With it in place I'm able to repeatedly >> register/unregister my advertisement without problem. > > I will probably apply it tomorrow to give people some time to try it, > but Im quite sure this will be the final version. > > > -- > Luiz Augusto von Dentz Applied. -- Luiz Augusto von Dentz