netifd: Set interface state in teardown state before launching an interface event
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 10 Mar 2014 15:27:53 +0000 (16:27 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 11 Mar 2014 09:24:21 +0000 (10:24 +0100)
commitb114b86c70766f67f503077ad1de013c17fbf366
tree21ddc8e3249917184561fa0d6333cc9ee0b8fe82
parentceeed831285357d125f71b9a3b4c27de50af49e6
netifd: Set interface state in teardown state before launching an interface event

Interface state needs to be set in teardown state before launching an interface event otherwise the up state will be reported as true in the ubus interface notify message

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