aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lapd/lapd_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lapd/lapd_test.c')
-rw-r--r--tests/lapd/lapd_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lapd/lapd_test.c b/tests/lapd/lapd_test.c
index 2dabbc6d..acd3cadb 100644
--- a/tests/lapd/lapd_test.c
+++ b/tests/lapd/lapd_test.c
@@ -19,6 +19,7 @@
*
*/
+#include <osmocom/core/application.h>
#include <osmocom/core/logging.h>
#include <osmocom/gsm/lapdm.h>
#include <osmocom/gsm/rsl.h>
@@ -196,6 +197,7 @@ static int ms_to_bts_l1_cb(struct osmo_prim_hdr *oph, void *_ctx)
/* i stuff it into the LAPDm channel of the BTS */
rc = send(oph->msg, state->bts);
msgb_free(oph->msg);
+ return rc;
}
static int ms_to_bts_tx_cb(struct msgb *msg, struct lapdm_entity *le, void *_ctx)