projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0afea38
)
clear interface errors on interface cleanup
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 5 Oct 2011 17:02:29 +0000
(19:02 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 5 Oct 2011 17:02:29 +0000
(19:02 +0200)
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index 819e5e457aa9114e1201f01fe8efe06040032b8c..9454dc1b1de9a525618b0d81bfc66d3eeb805b5f 100644
(file)
--- 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);