summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-08-16 11:10:31 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-08-23 02:08:36 +0200
commit9d14724b2024f48914205f272a02fd6cfddee522 (patch)
treeed014244f519c5362514639adf345d3f90acb35b
parente29e9035b5b2ecb5bb7c2d05becd2311853b1100 (diff)
cosmetic: fix ugly variable naming
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_sigtran.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_sigtran.c b/openbsc/src/osmo-bsc/osmo_bsc_sigtran.c
index b096dbb64..dc6d84bee 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_sigtran.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_sigtran.c
@@ -375,23 +375,23 @@ int osmo_bsc_sigtran_del_conn(struct osmo_bsc_sccp_con *conn)
}
/* Send an USSD notification in case we loose the connection to the MSC */
-static void bsc_notify_msc_lost(const struct osmo_bsc_sccp_con *con)
+static void bsc_notify_msc_lost(const struct osmo_bsc_sccp_con *conn)
{
- struct gsm_subscriber_connection *conn = con->conn;
+ struct gsm_subscriber_connection *subscr_conn = conn->conn;
- /* send USSD notification if string configured and con->data is set */
- if (!conn)
+ /* send USSD notification if string configured and conn->data is set */
+ if (!subscr_conn)
return;
/* check for config string */
- if (!con->msc->ussd_msc_lost_txt)
+ if (!conn->msc->ussd_msc_lost_txt)
return;
- if (con->msc->ussd_msc_lost_txt[0] == '\0')
+ if (conn->msc->ussd_msc_lost_txt[0] == '\0')
return;
/* send USSD notification */
- bsc_send_ussd_notify(conn, 1, conn->sccp_con->msc->ussd_msc_lost_txt);
- bsc_send_ussd_release_complete(conn);
+ bsc_send_ussd_notify(subscr_conn, 1, subscr_conn->sccp_con->msc->ussd_msc_lost_txt);
+ bsc_send_ussd_release_complete(subscr_conn);
}
/* Close all open sigtran connections and channels */