Commit: b692d72b15b3d732a482d342db1d5934fc84a8b8
Parent: cd651d8e21d785399086e1e6136267e407c1e863
Author: Christian Eggers <ceggers@arri.de>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-07-15 17:23:19
Tree: 9c229c745462b0a2f97c734cab19a5afd18bd627

mesh: net: constify tx path Although the first byte of network packets has the same value for all 4 'send' functions, it feels much more natural to assign this byte at the location(s) where the packet is assembled, rather than where it is sent. This improves the readability because send_msg_pkt() isn't called with a partially uninitialized buffer anymore.

Diffstat

M mesh/net.c | 7 +++++- -

1 files changed, 5 insertions(+), 2 deletions(-)

View Full Diff | Patch