If there are multiple interfaces a change to the timeout for one cannot determine the correct delay until the next timeout event. That can be determined only by checking for the next event over all interfaces, which is exactly what's done by the timeout worker. Refactor interface timeout configuration to just set the start time and request time, and trigger the worker to calculate the next scheduled event. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| ip | ||
| l2 | ||
| lib | ||
| buf.c | ||
| CMakeLists.txt | ||
| hostname.c | ||
| Kconfig | ||
| Kconfig.hostname | ||
| Kconfig.template.log_config.default.net | ||
| Kconfig.template.log_config.net | ||