diff options
author | Inga Stotland <inga.stotland@intel.com> | 2020-05-30 21:41:26 -0700 |
---|---|---|
committer | Brian Gix <brian.gix@intel.com> | 2020-06-01 10:23:10 -0700 |
commit | c0013ccdb1aa017d63a7e0dc0ccefed8973c00d2 (patch) | |
tree | 19f07ae177a5f7e8b1c87172ce49ab6642fcbf9d /mesh/net.h | |
parent | cb3088b5986fd6317847e9631630ab1c09778626 (diff) | |
download | bluez-c0013ccdb1aa017d63a7e0dc0ccefed8973c00d2.tar.gz |
mesh: Remove debug-only related callback for packet send
This removes callback for sending every single access layer packet
since the callback does nothing but print debug satement. This
functionality is mature enough not to require such heavy debugging.
Diffstat (limited to 'mesh/net.h')
-rw-r--r-- | mesh/net.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/mesh/net.h b/mesh/net.h index 8646d5aef..12808ce38 100644 --- a/mesh/net.h +++ b/mesh/net.h @@ -260,9 +260,6 @@ struct mesh_friend_msg { }; typedef void (*mesh_status_func_t)(void *user_data, bool result); -typedef void (*mesh_net_status_func_t)(uint16_t remote, uint8_t status, - void *data, uint16_t size, - void *user_data); struct mesh_net *mesh_net_new(struct mesh_node *node); void mesh_net_free(void *net); @@ -313,10 +310,8 @@ void mesh_net_transport_send(struct mesh_net *net, uint32_t key_id, bool mesh_net_app_send(struct mesh_net *net, bool frnd_cred, uint16_t src, uint16_t dst, uint8_t key_id, uint16_t net_idx, uint8_t ttl, uint32_t seq, uint32_t iv_index, - bool segmented, bool szmic, - const void *msg, uint16_t msg_len, - mesh_net_status_func_t status_func, - void *user_data); + bool segmented, bool szmic, const void *msg, + uint16_t msg_len); void mesh_net_ack_send(struct mesh_net *net, uint32_t key_id, uint32_t iv_index, uint8_t ttl, uint32_t seq, uint16_t src, uint16_t dst, bool rly, |