From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Nocera Subject: Re: [PATCHv3 2/3] Re-add manager_get_default_adapter() Date: Thu, 09 Jun 2011 16:10:07 +0100 Message-ID: <1307632211.2669.213.camel@novo.hadess.net> References: <1307538557-9287-1-git-send-email-ospite@studenti.unina.it> <1307538557-9287-3-git-send-email-ospite@studenti.unina.it> <1307628154.2669.212.camel@novo.hadess.net> <20110609170011.ad822f40.ospite@studenti.unina.it> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from relay3-d.mail.gandi.net ([217.70.183.195]:34725 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753163Ab1FIPKO (ORCPT ); Thu, 9 Jun 2011 11:10:14 -0400 In-Reply-To: <20110609170011.ad822f40.ospite@studenti.unina.it> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Antonio Ospite Cc: linux-bluetooth@vger.kernel.org, linux-input@vger.kernel.org, Jim Paris , Ranulf Doswell , "Pascal A . Brisset" , Marcin Tolysz , Christian Birchinger , Filipe Lopes , Alan Ott , Mikko Virkkila , Simon Wood On Thu, 2011-06-09 at 17:00 +0200, Antonio Ospite wrote: > On Thu, 09 Jun 2011 15:02:32 +0100 > Bastien Nocera wrote: > > > On Wed, 2011-06-08 at 15:09 +0200, Antonio Ospite wrote: > > > From: Bastien Nocera > > > > Sent out a new patch for that which allows the same functionality, but > > returns an ID instead (you can then get the btd_adapter through existing > > manager functions). > > OK, so basically I drop 2/3 and do: > adapter = manager_find_adapter_by_id(manager_get_default_adapter_id()); > right? Yep. Hopefully my last patch will get in shortly.