summaryrefslogtreecommitdiff
path: root/mesh/net.h
diff options
context:
space:
mode:
authorMichaƂ Lowas-Rzechonek <michal.lowas-rzechonek@silvair.com>2019-07-19 14:15:59 +0200
committerBrian Gix <brian.gix@intel.com>2019-07-19 12:25:53 -0700
commit79bf51dbb50ab9a10a42fcc51e23be92e2441508 (patch)
treec5266dac42d3325be0076d0f0ea490cf6e388018 /mesh/net.h
parent060b3439f0c147309e097914df1ca351541b0495 (diff)
downloadbluez-79bf51dbb50ab9a10a42fcc51e23be92e2441508.tar.gz
mesh: Check address range passed to ImportRemoteNode
+changed "not authorized" error to "invalid args" when managing device key for local address range
Diffstat (limited to 'mesh/net.h')
-rw-r--r--mesh/net.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesh/net.h b/mesh/net.h
index 834a7351a..b7aa37748 100644
--- a/mesh/net.h
+++ b/mesh/net.h
@@ -358,7 +358,8 @@ uint32_t mesh_net_friend_timeout(struct mesh_net *net, uint16_t addr);
struct mesh_io *mesh_net_get_io(struct mesh_net *net);
struct mesh_node *mesh_net_node_get(struct mesh_net *net);
bool mesh_net_have_key(struct mesh_net *net, uint16_t net_idx);
-bool mesh_net_is_local_address(struct mesh_net *net, uint16_t addr);
+bool mesh_net_is_local_address(struct mesh_net *net, uint16_t src,
+ uint16_t count);
void mesh_net_set_window_accuracy(struct mesh_net *net, uint8_t accuracy);
void mesh_net_transmit_params_set(struct mesh_net *net, uint8_t count,
uint16_t interval);