---
openbsc/src/osmo-bsc/osmo_bsc_msc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_msc.c b/openbsc/src/osmo-bsc/osmo_bsc_msc.c
index 04cfb99..eeaaf72 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_msc.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_msc.c
@@ -211,7 +211,7 @@ static void handle_ctrl(struct osmo_msc_data *msc, struct msgb *msg)
cmd->id = "err";
cmd->reply = "Failed to parse control message.";
- ctrl_cmd_send(&msc->msc_con->write_queue, cmd);
+ ctrl_cmd_send_wqueue(&msc->msc_con->write_queue, cmd);
talloc_free(cmd);
return;
@@ -219,7 +219,7 @@ static void handle_ctrl(struct osmo_msc_data *msc, struct msgb *msg)
ret = ctrl_cmd_handle(cmd, msc->network);
if (ret != CTRL_CMD_HANDLED)
- ctrl_cmd_send(&msc->msc_con->write_queue, cmd);
+ ctrl_cmd_send_wqueue(&msc->msc_con->write_queue, cmd);
talloc_free(cmd);
}
--
1.7.6.1