zephyr/samples/net
Natalia Pluta c9f9c144e9 samples: net: cellular_modem: fix division by zero in sample_echo_packet
A hard fault occurs when the `sample_echo_packet` function attempts
to print the average time per successful echo and no packets have
been sent, resulting in a division by zero error. This fix adds a check
to ensure that `packets_sent` is greater than 0 before performing
the division. This prevents the system from halting due to a usage fault.

Signed-off-by: Natalia Pluta <pluta.natalia.m@gmail.com>
2024-07-10 11:37:44 +02:00
..
capture
cellular_modem samples: net: cellular_modem: fix division by zero in sample_echo_packet 2024-07-10 11:37:44 +02:00
cloud everywhere: reindent .overlay files with tabs 2024-06-26 15:59:44 +02:00
common
dhcpv4_client samples/net/dhcpv4_client: Exclude native_posix due to EVENTFD 2024-07-04 17:59:34 +02:00
dns_resolve
dsa
gptp
ipv4_autoconf
lldp
lwm2m_client
mdns_responder
mqtt_publisher
mqtt_sn_publisher
openthread/coprocessor
promiscuous_mode
ptp
secure_mqtt_sensor_actuator
sockets net: sockets: Remove async service support 2024-07-10 11:36:59 +02:00
stats
syslog_net
telnet samples: net: telnet: Bump IPv6 mcast address count 2024-06-24 12:42:16 -04:00
tftp_client samples: net: tftp_client: Bump main thread stack size 2024-06-24 12:42:16 -04:00
virtual
vlan
wifi
wpan_serial
wpanusb
zperf samples: net: zperf: Optimize configuration for better performance 2024-07-06 17:03:01 +02:00
net.rst