summaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/sgsn_libgtp.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-05-22 10:02:05 +0800
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-05-22 10:05:49 +0800
commitc1c6a28c8d58022131a6c3fd7303f53033888d6d (patch)
tree435a45946ee469411510c1dd63d9c79fca22e83d /openbsc/src/gprs/sgsn_libgtp.c
parent4c6e66796834fb0d96639b67ab00e1c81c580913 (diff)
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.
Diffstat (limited to 'openbsc/src/gprs/sgsn_libgtp.c')
-rw-r--r--openbsc/src/gprs/sgsn_libgtp.c2
1 files changed, 1 insertions, 1 deletions
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 */