summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gsm/lapdm.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gsm/lapdm.c b/src/gsm/lapdm.c
index b9e7304e..3a6fc5b5 100644
--- a/src/gsm/lapdm.c
+++ b/src/gsm/lapdm.c
@@ -552,16 +552,13 @@ static int lapdm_rx_not_permitted(const struct lapdm_entity *le,
return RLL_CAUSE_SABM_INFO_NOTALL;
} else {
switch (lctx->sapi) {
- case 0:
- /* SAPI0 must use contention resolution, i.e. L3 payload must exist */
- if (lctx->length == 0)
- return RLL_CAUSE_UFRM_INC_PARAM;
- break;
case 3:
/* SAPI3 doesn't support contention resolution */
if (lctx->length > 0)
return RLL_CAUSE_SABM_INFO_NOTALL;
break;
+ default:
+ break;
}
}
} else if (le->mode == LAPDM_MODE_MS) {