This patch adds ability to send messages to subnets. I'm not sure about 'mesh_net_transport_send'. There were comment to add 'net_idx' but it currently takes 'key_id' parameter which is used just in case of friendship. I tempted to split it into two separate functions but I don't full story behind this function. We didn't test the friend feature and I'm worried about breaking something. Przemysław Fierek (3): mesh: Remove unused argument from 'mesh_net_transport_send' function mesh: Remove unused functions: 'mesh_net_sub_list_add' and 'mesh_net_sub_list_del' mesh: Add net key index to send_seg() mesh/friend.c | 16 +++++------ mesh/net.c | 77 ++++++++++++++++++++------------------------------- mesh/net.h | 9 +++--- 3 files changed, 42 insertions(+), 60 deletions(-)