diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-10-09 12:10:49 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-10-09 12:10:49 +0200 |
commit | 2c33e2a81e747b519c47ec90f598055398288a4b (patch) | |
tree | 500dbca25efe5307c196d76dc03786e4e72b6458 | |
parent | 38d37c598cd0ef8532b4f93c241865243f3cbef2 (diff) |
ss7: Mark the link as down after the shutdown
-rw-r--r-- | src/ss7_application.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ss7_application.c b/src/ss7_application.c index d85a818..9921e7c 100644 --- a/src/ss7_application.c +++ b/src/ss7_application.c @@ -369,8 +369,10 @@ static void shutdown_set(struct mtp_link_set *set) if (!set) return; - llist_for_each_entry(link, &set->links, entry) + llist_for_each_entry(link, &set->links, entry) { link->shutdown(link); + mtp_link_down(link); + } } int ss7_application_start(struct ss7_application *app) |