Hi Claudio, On Mon, May 16, 2011, Claudio Takahasi wrote: > --- > src/adapter.c | 40 ++++++++++++++++++++++++++++------------ > 1 files changed, 28 insertions(+), 12 deletions(-) > > diff --git a/src/adapter.c b/src/adapter.c > index 3188974..6f85abf 100644 > --- a/src/adapter.c > +++ b/src/adapter.c > @@ -3002,6 +3002,31 @@ void adapter_update_device_from_info(struct btd_adapter *adapter, > adapter_emit_device_found(adapter, dev); > } > > +static int pairing_is_legacy(bdaddr_t *local, bdaddr_t *peer, gboolean eir, > + gboolean name, gboolean *legacy) > +{ The first two patches in this set have been pushed upstream, however could you consider the following change to this one: since you just assume legacy == TRUE if the storage read fails, why not just make this pairing_is_legacy function return a gboolean instead of returning the value by reference? (it's look cleaner, especially considering the name of the function) Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html