From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> This is necessary in order to be possible to send commands while the discovery is in progress. --- src/shared/gatt-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/gatt-client.c b/src/shared/gatt-client.c index 1dd6b22..8fa66ae 100644 --- a/src/shared/gatt-client.c +++ b/src/shared/gatt-client.c @@ -1722,7 +1722,7 @@ struct bt_gatt_client *bt_gatt_client_clone(struct bt_gatt_client *client) { struct bt_gatt_client *clone; - if (!client || !client->ready) + if (!client) return NULL; clone = gatt_client_new(client->db, client->att); -- 2.5.0 -- 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