diff options
author | Pyun DoHyun <dh79.pyun@samsung.com> | 2020-08-11 22:45:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review> | 2020-08-11 22:45:00 +0000 |
commit | 35ba73afbb4f4c08f0bc614d8bff1bf15cd1ee0c (patch) | |
tree | a98112a55af411d1cd8e86a25f5cd186f1a5ef90 | |
parent | d942eeb30d1dafbf807b3e02653292773fa519ba (diff) | |
parent | cc10435c4fff91c2a2d66e8b910ff409038dfb3f (diff) | |
download | bluetooth-35ba73afbb4f4c08f0bc614d8bff1bf15cd1ee0c.tar.gz bluetooth-35ba73afbb4f4c08f0bc614d8bff1bf15cd1ee0c.tar.bz2 bluetooth-35ba73afbb4f4c08f0bc614d8bff1bf15cd1ee0c.zip |
Merge "Mesh: Remove limitation of five Networks" into tizen
-rw-r--r-- | src/bluetooth-mesh.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/bluetooth-mesh.c b/src/bluetooth-mesh.c index 67c0cbe..a6b273f 100644 --- a/src/bluetooth-mesh.c +++ b/src/bluetooth-mesh.c @@ -31,7 +31,6 @@ #include "bluetooth_private.h" #include "bluetooth-mesh-api.h" -#define BT_MESH_MAX_NETWORKS 5 #define BT_MESH_MAX_ELEMENTS 32767 #define BT_MESH_MAX_MODELS 32767 #define BT_MESH_MAX_NODES 32767 @@ -1198,10 +1197,6 @@ int bt_mesh_network_create(bt_mesh_node_h config_client, num_models += models; } - /* Check currently created network */ - if (g_slist_length(networks) >= BT_MESH_MAX_NETWORKS) - return BT_ERROR_QUOTA_EXCEEDED; - memset(¶m_node, 0x00, sizeof(bluetooth_mesh_node_t)); memcpy(¶m_node.vendor_info, &(node->features), sizeof(node->features)); param_node.num_elements = g_slist_length(node->elements); |