arehbein has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-netif/+/32976 )
Change subject: example: Remove call to osmo_ipa_process_msg() ......................................................................
example: Remove call to osmo_ipa_process_msg()
That call now happens up the call stack in IPA mode
Change-Id: I53283ec7bd7f07dfa612681ae84af93d5cd098b9 --- M examples/ipa-stream-client.c 1 file changed, 12 insertions(+), 6 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/76/32976/1
diff --git a/examples/ipa-stream-client.c b/examples/ipa-stream-client.c index 44a6caf..a48aace 100644 --- a/examples/ipa-stream-client.c +++ b/examples/ipa-stream-client.c @@ -104,12 +104,7 @@
static int read_cb(struct osmo_stream_cli *conn, struct msgb *msg) { - LOGP(DIPATEST, LOGL_DEBUG, "received message from stream (len=%d)\n", msgb_length(msg)); - - if (osmo_ipa_process_msg(msg) < 0) { - LOGP(DIPATEST, LOGL_ERROR, "bad IPA message\n"); - return 0; - } + LOGP(DIPATEST, LOGL_DEBUG, "received message from stream (payload len=%d)\n", msgb_length(msg));
int num; struct msg_sent *cur, *tmp, *found = NULL;