mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-21 12:33:49 +01:00
Most functions were using asserts, but in some cases it might not be a programmatic error to pass an invalid ifnum. This makes sure the code does not crash by testing it at runtim and returning an error.