summaryrefslogtreecommitdiffstats
path: root/src/gsm/lapd_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsm/lapd_core.c')
-rw-r--r--src/gsm/lapd_core.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gsm/lapd_core.c b/src/gsm/lapd_core.c
index 48476266..5d871546 100644
--- a/src/gsm/lapd_core.c
+++ b/src/gsm/lapd_core.c
@@ -379,9 +379,7 @@ static int send_dl_l3(uint8_t prim, uint8_t op, struct lapd_msg_ctx *lctx,
static inline int send_dl_simple(uint8_t prim, uint8_t op,
struct lapd_msg_ctx *lctx)
{
- struct msgb *msg = lapd_msgb_alloc(0, "DUMMY");
-
- return send_dl_l3(prim, op, lctx, msg);
+ return send_dl_l3(prim, op, lctx, NULL);
}
/* send MDL-ERROR INDICATION */