From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> The request id shall be reset to 0 after bt_att_cancel has been called. --- src/shared/gatt-client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/gatt-client.c b/src/shared/gatt-client.c index 06ac763..5fd0208 100644 --- a/src/shared/gatt-client.c +++ b/src/shared/gatt-client.c @@ -1581,6 +1581,7 @@ static void complete_unregister_notify(void *data) */ if (notify_data->att_id) { bt_att_cancel(notify_data->client->att, notify_data->att_id); + notify_data->att_id = 0; goto done; } -- 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