Hi Fred, > src/adapter.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/src/adapter.c b/src/adapter.c > index 93dc0fb..357b717 100644 > --- a/src/adapter.c > +++ b/src/adapter.c > @@ -2697,6 +2697,10 @@ static void load_config(struct btd_adapter *adapter) > uint32_t class = htobl(main_opts.class); > memcpy(adapter->config.class, &class, 3); > } > + > + /* Get pairable mode */ > + if (read_device_pairable(&adapter->bdaddr, &adapter->pairable) < 0) > + adapter->pairable = TRUE; maybe you change this later altogether, but the multiple reads here are bad. Regards Marcel -- 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