Return-Path: MIME-Version: 1.0 In-Reply-To: References: <1435320003-14720-1-git-send-email-luiz.dentz@gmail.com> Date: Fri, 26 Jun 2015 22:33:33 +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 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