diff options
author | Brian Gix <brian.gix@intel.com> | 2019-07-11 15:59:51 -0700 |
---|---|---|
committer | Brian Gix <brian.gix@intel.com> | 2019-07-14 08:32:18 -0700 |
commit | 2e46771050e6f302e4b7a8a1760ab19e68ea2385 (patch) | |
tree | 0a72f16bbe06de217dc2d7fc8eb991834e81238e /mesh/mesh.c | |
parent | 20585d786bd6c52f84182621cb7299e00d01b2dc (diff) | |
download | bluez-2e46771050e6f302e4b7a8a1760ab19e68ea2385.tar.gz |
mesh: Convert provisioning pkts to packed structs
Provisioning packets are defined in the specification
as packed big endian structures. Instead of specifying
an octet array, we now use struct matching the spec.
Diffstat (limited to 'mesh/mesh.c')
-rw-r--r-- | mesh/mesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh/mesh.c b/mesh/mesh.c index 62c80c0f3..b9e3162eb 100644 --- a/mesh/mesh.c +++ b/mesh/mesh.c @@ -86,7 +86,7 @@ static bool simple_match(const void *a, const void *b) /* Used for any outbound traffic that doesn't have Friendship Constraints */ /* This includes Beacons, Provisioning and unrestricted Network Traffic */ bool mesh_send_pkt(uint8_t count, uint16_t interval, - uint8_t *data, uint16_t len) + void *data, uint16_t len) { struct mesh_io_send_info info = { .type = MESH_IO_TIMING_TYPE_GENERAL, |