aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2020-11-01 23:39:38 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2020-11-01 23:39:38 +0100
commitbecacaf8209e912a8ab1ffdb9cdc2e5b3743e330 (patch)
tree2d229e87ef062550371616dd919198b01b62355d
parentf304453fba4fe688375aee0da72032c36c23e196 (diff)
-rw-r--r--src/common/l1sap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index aaa845ac..bb1f4598 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -911,8 +911,8 @@ static void l1sap_update_fnstats(struct gsm_bts *bts, uint32_t rts_fn)
static inline struct msgb *lapdm_phsap_dequeue_msg(struct lapdm_entity *le)
{
struct osmo_phsap_prim pp;
- if (lapdm_phsap_dequeue_prim(le, &pp) < 0) ;
- return NULL;
+ if (lapdm_phsap_dequeue_prim(le, &pp) < 0)
+ return NULL;
return pp.oph.msg;
}