diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-07 02:37:43 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-07 02:39:37 +0800 |
commit | 0c95c6ac93dfb3245d9fa40eb7958f2b4a84c0ab (patch) | |
tree | 319074df0d39fc087ebb0b1a3631082bbaf885cf /src/main.c | |
parent | 3e054ee556ec1fa10d43117c34711656f12359be (diff) |
msc: Rename closing to msc_link_down
This is the indicator if the MSC is connected and authenticated
or not. This name should be better than closing.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -159,7 +159,7 @@ void mtp_link_forward_sccp(struct mtp_link *link, struct msgb *_msg, int sls) } /* special responder */ - if (bsc.closing) { + if (bsc.msc_link_down) { if (rc == BSS_FILTER_RESET_ACK && bsc.reset_count > 0) { LOGP(DMSC, LOGL_ERROR, "Received reset ack for closing.\n"); clear_connections(&bsc); @@ -325,7 +325,7 @@ void release_bsc_resources(struct bsc_data *bsc) struct active_sccp_con *tmp; struct active_sccp_con *con; - bsc->closing = 1; + bsc->msc_link_down = 1; bsc_del_timer(&bsc->reset_timeout); /* 2. clear the MGCP endpoints */ @@ -378,7 +378,7 @@ void bsc_link_down(struct link_data *data) msc_clear_queue(data->bsc); /* for the case the link is going down while we are trying to reset */ - if (data->bsc->closing) + if (data->bsc->msc_link_down) msc_schedule_reconnect(data->bsc); else if (was_up) msc_send_reset(data->bsc); @@ -389,7 +389,7 @@ void bsc_link_up(struct link_data *data) data->the_link->available = 1; /* we have not gone through link down */ - if (data->bsc->closing) { + if (data->bsc->msc_link_down) { clear_connections(data->bsc); bsc_resources_released(data->bsc); } |