netifd: Fix restore of original device settings
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 4 Dec 2014 12:07:15 +0000 (12:07 +0000)
committerSteven Barth <steven@midlink.org>
Mon, 8 Dec 2014 17:13:45 +0000 (18:13 +0100)
commit9d8dd091f8f336b111364ed211165b5ec9842a24
tree567262300d2e9d6e4e98c9a285c8099bfcdcfd6a
parent25289c946427db676d41c0fa4e6c01ade2f43b66
netifd: Fix restore of original device settings

Don't restore original device settings based on the device settings flags in system_if_down
as device flags are already reset when the device config is deleted.
Therefore move the masking of the relevant original device settings to system_if_up.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
system-linux.c