---
 openbsc/src/osmo-bsc_nat/bsc_nat.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat.c 
b/openbsc/src/osmo-bsc_nat/bsc_nat.c
index 2753065..f432622 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat.c
@@ -1249,7 +1249,7 @@ static int handle_ctrlif_msg(struct bsc_connection *bsc, 
struct msgb *msg)
        talloc_free(cmd);
        return 0;
 err:
-       ctrl_cmd_send(&bsc->write_queue, cmd);
+       ctrl_cmd_send_wqueue(&bsc->write_queue, cmd);
        talloc_free(cmd);
        return 0;
 }
@@ -1657,7 +1657,7 @@ static int forward_to_bsc(struct ctrl_cmd *cmd)
                                goto err;
                        }
 
-                       if (ctrl_cmd_send(&bsc->write_queue, bsc_cmd)) {
+                       if (ctrl_cmd_send_wqueue(&bsc->write_queue, bsc_cmd)) {
                                cmd->reply = "Sending failed";
                                goto err;
                        }
-- 
1.7.6.1


Reply via email to