diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-08 10:31:07 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-08 10:31:07 +0200 |
commit | 2ab6db015321941f9e6216118a9cf1cf624ac21e (patch) | |
tree | f4deee856b1865c0705a09a20588a5d557c1af66 /openbsc | |
parent | 6cb97bdebe5503d9fd7487d7f57c4c9e3d87b4c5 (diff) |
nat: Rename variable to make it use msc in the name
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/nat/bsc_nat.c | 4 |
1 files 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); } |