sysmobts_mgr_temp: Migrate to ctrl_cmd_send2()

ctrl_cmd_send() is now a deprecated API function.

Change-Id: I663669a1bcf7b58d6a6175cbb51c333f5cfaedd7
Depends: libosmocore.git Change-Id Ic81af56e7ea6921ba39168727ef64c308e9c6754
This commit is contained in:
Harald Welte 2024-03-02 19:01:00 +01:00
parent a7263b6474
commit 3af73977dd
2 changed files with 2 additions and 1 deletions

View File

@ -9,3 +9,4 @@
#library what description / commit summary line
libosmogsm >1.9.0 added new PRIM_INFO to include/osmocom/gsm/l1sap.h
libosmogsm >1.9.0 use of RLP code in libosmogsm
libosmoctrl >1.9.0 use ctrl_cmd_send2()

View File

@ -233,7 +233,7 @@ static void sysmobts_mgr_temp_handle(struct sysmobts_mgr_instance *manager,
rep->variable = "oml-alert";
rep->value = oml_alert;
LOGP(DTEMP, LOGL_ERROR, "OML alert sent: %d\n",
ctrl_cmd_send(&ctrl->write_queue, rep));
ctrl_cmd_send2(ctrl, rep));
talloc_free(rep);
}