pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-gprs/+/32309 )
Change subject: tests/sndcp: Fix incorrect check comparing against wrong SAPI ......................................................................
tests/sndcp: Fix incorrect check comparing against wrong SAPI
Change-Id: I03e75d290efdd682e6d2705921c76708a3bffef5 --- M tests/sndcp/sndcp_prim_test.c 1 file changed, 10 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-gprs refs/changes/09/32309/1
diff --git a/tests/sndcp/sndcp_prim_test.c b/tests/sndcp/sndcp_prim_test.c index e8c4a7e..b1f29ef 100644 --- a/tests/sndcp/sndcp_prim_test.c +++ b/tests/sndcp/sndcp_prim_test.c @@ -88,7 +88,7 @@ { const char *npdu_name = osmo_gprs_sndcp_prim_name(sndcp_prim);
- if (sndcp_prim->oph.sap != OSMO_GPRS_SNDCP_SAP_SN) { + if (sndcp_prim->oph.sap != OSMO_GPRS_SNDCP_SAP_SNSM) { printf("%s(): Unexpected Rx %s\n", __func__, npdu_name); OSMO_ASSERT(0); }