Update connman settings for single device as well 96/264496/1
authorNiraj Kumar Goit <niraj.g@samsung.com>
Thu, 23 Sep 2021 08:01:50 +0000 (13:31 +0530)
committerNiraj Kumar Goit <niraj.g@samsung.com>
Thu, 23 Sep 2021 08:03:35 +0000 (13:33 +0530)
Change-Id: Ic1ee92050bebd631d1738b9b68152052589e3e77
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
src/technology.c

index c2c82b9..4255051 100644 (file)
@@ -2240,7 +2240,7 @@ void technology_save_device(struct connman_device *device)
        gchar **ifname_list = NULL;
        guint dev_count = g_slist_length(technology->device_list);
 
-       if (dev_count > 1) {
+       if (dev_count >= 1) {
                GString *ifname_str = g_string_new(NULL);
 
                if (ifname_str) {