From e33d93c3666b941b39bf288f3888fccdbb28964c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 7 Aug 2010 02:40:35 +0800 Subject: msc: Manage the msc_link_down only in the msc_conn.c Only write to this property in the msc_conn context and not from within the main procedure. --- src/msc_conn.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/msc_conn.c') diff --git a/src/msc_conn.c b/src/msc_conn.c index ac160bb..19394f8 100644 --- a/src/msc_conn.c +++ b/src/msc_conn.c @@ -79,6 +79,7 @@ void msc_close_connection(struct bsc_data *bsc) close(bfd->fd); bsc_unregister_fd(bfd); bfd->fd = -1; + bsc->msc_link_down = 1; release_bsc_resources(bsc); bsc_del_timer(&bsc->ping_timeout); bsc_del_timer(&bsc->pong_timeout); -- cgit v1.2.3