Hi Santiago, On Thu, Sep 29, 2011, Santiago Carot-Nemesio wrote: > @@ -36,7 +37,9 @@ > struct thermometer { > DBusConnection *conn; /* The connection to the bus */ > struct btd_device *dev; /* Device reference */ > + GAttrib *attrib; /* GATT connection */ > struct att_range *svc_range; /* Thermometer range */ > + gint attioid; /* Att watcher id */ > }; Looking at the attio.h API, the attioid should be guint and not gint, right? Also, this struct has the same inconsistency in indentation. Some lines use spaces whereas other use tabs. Please fix this (though potentially in a separate coding-style cleanup patch since the inconsistency exists there already before this patch). > + if (t->attioid) > + btd_device_remove_attio_callback(t->dev, t->attioid); Please use if (t->attioid > 0) 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