From efa325e9079b11421a77ee77956339f481254d1f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 21 Oct 2011 02:43:28 +0200 Subject: [PATCH] fix device claim on interface reload --- interface.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/interface.c b/interface.c index 04834ec..d0eec4a 100644 --- a/interface.c +++ b/interface.c @@ -218,9 +218,8 @@ static void interface_do_reload(struct interface *iface) { interface_cleanup(iface); - - interface_claim_device(iface); proto_init_interface(iface, iface->config); + interface_claim_device(iface); } static void -- 2.25.1