[PATCH BlueZ v0] gatt: Fix proxies list iteration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 src/gatt-dbus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gatt-dbus.c b/src/gatt-dbus.c
index 95d1243..4456ec0 100644
--- a/src/gatt-dbus.c
+++ b/src/gatt-dbus.c
@@ -297,7 +297,7 @@ static int register_external_characteristics(GSList *proxies)
 {
 	GSList *list;
 
-	for (list = proxies; list; list = g_slist_next(proxies)) {
+	for (list = proxies; list; list = g_slist_next(list)) {
 		DBusMessageIter iter;
 		const char *str, *path;
 		bt_uuid_t uuid;
-- 
1.8.3.1

--
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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux