From 2ab6db015321941f9e6216118a9cf1cf624ac21e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 8 Apr 2010 10:31:07 +0200 Subject: nat: Rename variable to make it use msc in the name --- openbsc/src/nat/bsc_nat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c index e521516d8..0fe9ce9c4 100644 --- a/openbsc/src/nat/bsc_nat.c +++ b/openbsc/src/nat/bsc_nat.c @@ -310,7 +310,7 @@ static void msc_connection_was_lost(struct bsc_msc_connection *con) bsc_msc_schedule_connect(con); } -static void msc_send_reset(struct bsc_msc_connection *con) +static void msc_send_reset(struct bsc_msc_connection *msc_con) { static const u_int8_t reset[] = { 0x00, 0x12, 0xfd, @@ -330,7 +330,7 @@ static void msc_send_reset(struct bsc_msc_connection *con) msg->l2h = msgb_put(msg, sizeof(reset)); memcpy(msg->l2h, reset, msgb_l2len(msg)); - if (write_queue_enqueue(&con->write_queue, msg) != 0) { + if (write_queue_enqueue(&msc_con->write_queue, msg) != 0) { LOGP(DMSC, LOGL_ERROR, "Failed to enqueue reset msg.\n"); msgb_free(msg); } -- cgit v1.2.3