Browse Source

bts-sysmo: Replace use of deprecated ipa_client_conn_create API

"""
osmo-bts/src/osmo-bts-sysmo/misc/sysmobts_mgr_calib.c:544:9: warning:
‘ipa_client_conn_create’ is deprecated: Use ipa_client_conn_create2()
instead [-Wdeprecated-declarations]
"""

Change-Id: Ief4d629f366e4f69ccd489198302568a919b2f0c
changes/92/28392/2
Pau Espin 6 days ago committed by pespin
parent
commit
b8ae49d0ca
  1. 4
      src/osmo-bts-sysmo/misc/sysmobts_mgr_calib.c

4
src/osmo-bts-sysmo/misc/sysmobts_mgr_calib.c

@ -541,8 +541,8 @@ int sysmobts_mgr_calib_init(struct sysmobts_mgr_instance *mgr)
return 0;
}
mgr->calib.bts_conn = ipa_client_conn_create(tall_mgr_ctx, NULL, 0,
"localhost", 4238,
mgr->calib.bts_conn = ipa_client_conn_create2(tall_mgr_ctx, NULL, 0,
NULL, 0, "localhost", 4238,
bts_updown_cb, bts_read_cb,
NULL, mgr);
if (!mgr->calib.bts_conn) {

Loading…
Cancel
Save