summaryrefslogtreecommitdiff
path: root/mesh/mesh-io.c
diff options
context:
space:
mode:
authorBrian Gix <brian.gix@intel.com>2018-12-14 14:04:25 -0800
committerBrian Gix <brian.gix@intel.com>2019-01-08 08:26:22 -0800
commit535e83b73d2bdc3a504e79d49075cabd1c7f0028 (patch)
tree610324a83e50e5099653ea9f512afacdb27bf10d /mesh/mesh-io.c
parentc1f5df90bc51e93aa59c9b634c1e53355f8d101b (diff)
downloadbluez-535e83b73d2bdc3a504e79d49075cabd1c7f0028.tar.gz
mesh: Restructure I/O for multiple controllers
Restructured access to Bluetooth Controllers to allow the usage of multiple controllers, and potentially functionality tailored to Mesh specific features.
Diffstat (limited to 'mesh/mesh-io.c')
-rw-r--r--mesh/mesh-io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesh/mesh-io.c b/mesh/mesh-io.c
index 5cdfdc5ff..8cf6c486a 100644
--- a/mesh/mesh-io.c
+++ b/mesh/mesh-io.c
@@ -177,7 +177,8 @@ bool mesh_io_send(struct mesh_io *io, struct mesh_io_send_info *info,
return false;
}
-bool mesh_io_send_cancel(struct mesh_io *io, uint8_t *pattern, uint8_t len)
+bool mesh_io_send_cancel(struct mesh_io *io, const uint8_t *pattern,
+ uint8_t len)
{
io = l_queue_find(io_list, match_by_io, io);