laforge has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-bts/+/36144?usp=email )
Change subject: sysmobts_mgr_temp: Migrate to ctrl_cmd_send2()
......................................................................
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
---
M TODO-RELEASE
M src/osmo-bts-sysmo/misc/sysmobts_mgr_temp.c
2 files changed, 14 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/44/36144/1
diff --git a/TODO-RELEASE b/TODO-RELEASE
index 2bbfab5..96426a5 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -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()
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_mgr_temp.c
b/src/osmo-bts-sysmo/misc/sysmobts_mgr_temp.c
index 02d3245..eea6879 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts_mgr_temp.c
+++ b/src/osmo-bts-sysmo/misc/sysmobts_mgr_temp.c
@@ -233,7 +233,7 @@
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);
}
--
To view, visit
https://gerrit.osmocom.org/c/osmo-bts/+/36144?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I663669a1bcf7b58d6a6175cbb51c333f5cfaedd7
Gerrit-Change-Number: 36144
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: newchange