diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-21 02:43:28 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-21 02:43:28 +0200 |
commit | efa325e9079b11421a77ee77956339f481254d1f (patch) | |
tree | 7614473f42d0766053aea897453ba69ccede613f /interface.c | |
parent | a4e6adc43fe206eada9dfe5b99a6cc6ac451d702 (diff) |
fix device claim on interface reload
Diffstat (limited to 'interface.c')
-rw-r--r-- | interface.c | 3 |
1 files changed, 1 insertions, 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 |