net/stack: ignore extraneous interface UP/DOWN calls
Changing the device flags now implies downing the interface prior to
switching it up anew with a different set of flags.
Return success upon useless calls (e.g. UP when iface is up, DOWN when
iface is down).
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
Please register or sign in to comment