Return-Path: MIME-Version: 1.0 In-Reply-To: References: <1412859828-6224-1-git-send-email-fons@spotify.com> <20141009141430.GA31807@t440s.P-661HNU-F1> From: Alfonso Acosta Date: Fri, 10 Oct 2014 17:40:18 +0200 Message-ID: Subject: Re: [PATCH] Bluetooth: Defer connection-parameter removal when unpairing without disconnecting To: Marcel Holtmann , johan.hedberg@gmail.com Cc: BlueZ development Content-Type: text/plain; charset=UTF-8 List-ID: Hi Jhoan and Marcel, I sent v2 which I hope addresses all your remarks. Thanks, Fons On Fri, Oct 10, 2014 at 10:14 AM, Alfonso Acosta wrote: > Hi Marcel, > > >> don't we also need to clear the flag when the new pairing succeed? > > Yep, in fact that's the whole point of the flag .... which I missed. > Thanks for your patience :) > >> If we destroy hci_conn anyway, there is pretty much no point in test_and_clear_bit and we could just use test_bit here. > > Fair point, I will change them to test_bit. > > > > > -- > Alfonso Acosta > > Embedded Systems Engineer at Spotify > Birger Jarlsgatan 61, Stockholm, Sweden > http://www.spotify.com -- Alfonso Acosta Embedded Systems Engineer at Spotify Birger Jarlsgatan 61, Stockholm, Sweden http://www.spotify.com