From c1c6a28c8d58022131a6c3fd7303f53033888d6d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 22 May 2015 10:02:05 +0800 Subject: sgsn: Reserved bits should be set to 1 Bits 3 to 8 are spare bits and should be set to 1 in etsi specifications. Do that. --- openbsc/src/gprs/sgsn_libgtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbsc/src/gprs/sgsn_libgtp.c b/openbsc/src/gprs/sgsn_libgtp.c index 52d99aa4f..19c46b7c3 100644 --- a/openbsc/src/gprs/sgsn_libgtp.c +++ b/openbsc/src/gprs/sgsn_libgtp.c @@ -154,7 +154,7 @@ struct sgsn_pdp_ctx *sgsn_create_pdp_ctx(struct sgsn_ggsn_ctx *ggsn, //pdp->cch_pdp = 512; /* Charging Flat Rate */ /* MS provided APN, subscription not verified */ - pdp->selmode = 0x01; + pdp->selmode = 0xFC | 0x01; /* IMSI, TEID/TEIC, FLLU/FLLC, TID, NSAPI set in pdp_newpdp */ -- cgit v1.2.3