From 1d2107528d9ffa2c7382f3e4290e86c166bd3324 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 5 Oct 2011 19:02:29 +0200 Subject: [PATCH] clear interface errors on interface cleanup --- interface.c | 1 + 1 file changed, 1 insertion(+) diff --git a/interface.c b/interface.c index 819e5e4..9454dc1 100644 --- a/interface.c +++ b/interface.c @@ -184,6 +184,7 @@ interface_claim_device(struct interface *iface) static void interface_cleanup(struct interface *iface) { + interface_clear_errors(iface); if (iface->main_dev.dev) device_remove_user(&iface->main_dev); interface_set_proto_state(iface, NULL); -- 2.25.1