commit | 61b5700e40f6c6c2197751ca06aa2abf6aff9c14 | [log] [tgz] |
---|---|---|
author | Tobias Svehagen <tobias.svehagen@gmail.com> | Thu Jun 16 15:29:11 2016 +0200 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Fri Jun 17 11:42:47 2016 +0300 |
tree | e0d5ae0ed1dd3e0431a8b78dc287578799a04a70 | |
parent | 0b8e372afac455042b4e2777e2dee3b9bdb5f48f [diff] |
src/gatt-client: Fix iteration through options Fix infinite loop when trying to read/write a characteristic or a descriptor and the ReadValue/WriteValue call has at least one option.
diff --git a/src/gatt-client.c b/src/gatt-client.c index 0cbacca..6fc0d19 100644 --- a/src/gatt-client.c +++ b/src/gatt-client.c
@@ -401,6 +401,8 @@ return -EINVAL; dbus_message_iter_get_basic(&value, offset); } + + dbus_message_iter_next(&dict); } return 0;