summaryrefslogtreecommitdiff
path: root/mesh/node.c
diff options
context:
space:
mode:
authorInga Stotland <inga.stotland@intel.com>2020-05-21 17:34:58 -0700
committerBrian Gix <brian.gix@intel.com>2020-05-22 13:45:53 -0700
commit1b7d879555426178f79cd8493bd599b0689527a8 (patch)
tree436d9c044e72f907fe77daf062fb52d5782538cd /mesh/node.c
parentdedc3cb27492126a150518df83a1d1222b59c97c (diff)
downloadbluez-1b7d879555426178f79cd8493bd599b0689527a8.tar.gz
mesh: Clean up Import() method call
This removes unnecessary failing conditions in Import() call and simplifies iterations through "flags" dictionary.
Diffstat (limited to 'mesh/node.c')
-rw-r--r--mesh/node.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mesh/node.c b/mesh/node.c
index 8cfe1ddc8..9ba5ad877 100644
--- a/mesh/node.c
+++ b/mesh/node.c
@@ -1693,7 +1693,7 @@ void node_join(const char *app_root, const char *sender, const uint8_t *uuid,
req, l_free);
}
-bool node_import(const char *app_root, const char *sender, const uint8_t *uuid,
+void node_import(const char *app_root, const char *sender, const uint8_t *uuid,
const uint8_t dev_key[16], const uint8_t net_key[16],
uint16_t net_idx, bool kr, bool ivu,
uint32_t iv_index, uint16_t unicast,
@@ -1725,7 +1725,6 @@ bool node_import(const char *app_root, const char *sender, const uint8_t *uuid,
"GetManagedObjects", NULL,
get_managed_objects_cb,
req, l_free);
- return true;
}
void node_create(const char *app_root, const char *sender, const uint8_t *uuid,