summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiraj Kumar Goit <niraj.g@samsung.com>2021-09-23 13:31:50 +0530
committerNiraj Kumar Goit <niraj.g@samsung.com>2021-09-23 13:33:35 +0530
commit3a8dc46a144e3902729553ced331a2dc0d8140fa (patch)
treeacaf0dd8b980fb3a88497cc512088d8521d6c203
parent7e5e845e5fd4665b1a75985b198f727872937efb (diff)
downloadconnman-3a8dc46a144e3902729553ced331a2dc0d8140fa.tar.gz
connman-3a8dc46a144e3902729553ced331a2dc0d8140fa.tar.bz2
connman-3a8dc46a144e3902729553ced331a2dc0d8140fa.zip
Update connman settings for single device as well
Change-Id: Ic1ee92050bebd631d1738b9b68152052589e3e77 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
-rw-r--r--src/technology.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/technology.c b/src/technology.c
index c2c82b98..42550512 100644
--- a/src/technology.c
+++ b/src/technology.c
@@ -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) {