mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
e6d2ff668b
The DOSE watchdog should only run if at least one interface is in RECV state. That means it must be enabled when entering RECV state and disabled when leaving RECV state. The watchdog was *always* disabled on a transition to IDLE. This is wrong: If there are two interfaces and one is in RECV state but the other did just SEND something and transitions to IDLE state from SEND state, it would still disable the watchdog. Fix this by only disabling the watchdog if the current state is RECV. |
||
---|---|---|
.. | ||
include | ||
dose.c | ||
Kconfig | ||
Makefile | ||
Makefile.dep | ||
Makefile.include |