netifd: Link layer state support on interface level
authorHans Dedecker <dedeckeh@gmail.com>
Tue, 19 Nov 2013 11:17:09 +0000 (12:17 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 8 Dec 2013 17:43:51 +0000 (18:43 +0100)
commit7335c3e19ea09674245dda3653d3f40705e68d6b
tree56aac2a32502da6f4bc5ae157b9c39eb98cada52
parentc439b52400978dd3799c66e1f632ee68d2c7c9eb
netifd: Link layer state support on interface level

Patch implements handling of link layer support on interface level.
An interface will go into the setup state when it's enabled and the
underlying link state is enabled. Vice versa an interface will go to
the down state when it's either disabled or underlying link state is
disabled.
Testing has been done with PPP, IPoE, tunnel and static interfaces

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
interface.c
interface.h
proto-shell.c