diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-18 19:17:05 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-18 19:17:05 +0200 |
commit | 8527f455f6d35cf9e142cf9981b6553f0e239562 (patch) | |
tree | 27fda96ae9477025dbcc4a05c53f134a97e79caf /proto-shell.c | |
parent | 39b97d17479a1767fefdf693bb41141260d9740c (diff) |
defer releasing the l3 dev so that the generic code can take care of cleaning system settings
Diffstat (limited to 'proto-shell.c')
-rw-r--r-- | proto-shell.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/proto-shell.c b/proto-shell.c index 68af69b..f197c62 100644 --- a/proto-shell.c +++ b/proto-shell.c @@ -125,10 +125,6 @@ proto_shell_teardown_cb(struct netifd_process *p, int ret) return; netifd_kill_process(&state->proto_task); - - if (state->l3_dev.dev) - device_remove_user(&state->l3_dev); - state->proto.proto_event(&state->proto, IFPEV_DOWN); } |