interface: fix restart after reload with external devices
authorFelix Fietkau <nbd@openwrt.org>
Thu, 24 Jul 2014 09:12:48 +0000 (11:12 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 24 Jul 2014 09:12:50 +0000 (11:12 +0200)
When an interface goes down, the main_dev is reset to NULL.
Track an externally added device separately to be able to bring it back
up.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

No differences found