aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarehbein <arehbein@sysmocom.de>2023-05-24 15:21:38 +0200
committerDaniel Willmann <dwillmann@sysmocom.de>2023-07-20 17:20:25 +0200
commita676fc7eac3ac506b549023718943ba0358ede67 (patch)
treed9447c464f8abcf0bbc33d00daa3f1b24b351b7f
parentd975f19bbf40175e192702a44460e0512b963d48 (diff)
example: Remove calls to osmo_ipa_process_msg()daniel/segm_cb_after_squash
That call now happens up the call stack in IPA mode Change-Id: I53283ec7bd7f07dfa612681ae84af93d5cd098b9
-rw-r--r--examples/ipa-stream-client.c5
-rw-r--r--examples/ipa-stream-server.c6
2 files changed, 0 insertions, 11 deletions
diff --git a/examples/ipa-stream-client.c b/examples/ipa-stream-client.c
index 8289ffb..c08acff 100644
--- a/examples/ipa-stream-client.c
+++ b/examples/ipa-stream-client.c
@@ -106,11 +106,6 @@ static int read_cb(struct osmo_stream_cli *conn, struct msgb *msg)
{
LOGP(DIPATEST, LOGL_DEBUG, "received message from stream (payload len=%d)\n", msgb_length(msg));
- if (osmo_ipa_process_msg(msg) < 0) {
- LOGP(DIPATEST, LOGL_ERROR, "bad IPA message\n");
- return 0;
- }
-
int num;
struct msg_sent *cur, *tmp, *found = NULL;
diff --git a/examples/ipa-stream-server.c b/examples/ipa-stream-server.c
index 297e0cb..06c49ae 100644
--- a/examples/ipa-stream-server.c
+++ b/examples/ipa-stream-server.c
@@ -51,12 +51,6 @@ int read_cb(struct osmo_stream_srv *conn, struct msgb *msg)
{
LOGP(DSTREAMTEST, LOGL_DEBUG, "received message from stream (payload len=%d)\n", msgb_length(msg));
- if (osmo_ipa_process_msg(msg) < 0) {
- LOGP(DSTREAMTEST, LOGL_ERROR, "Bad IPA message\n");
- msgb_free(msg);
- return 0;
- }
-
osmo_ipa_stream_srv_send(conn, IPAC_PROTO_UNSPECIFIED, IPAC_PROTO_UNSPECIFIED, msg);
return 0;
}