aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-11-21 16:15:52 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2019-11-21 16:15:52 +0100
commitb71d2c5ddde494658784d4568b4fdaa7b0067f45 (patch)
tree9b1b224b2c8d9c8e0b5402619cdfb99f81a32544
parent029a70e493ee1409516466b2d3baf0f5fb8e1310 (diff)
gprs_llc.c: Use enum instead of hardcoded value
-rw-r--r--src/sgsn/gprs_llc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sgsn/gprs_llc.c b/src/sgsn/gprs_llc.c
index 244d22c6..ed5d55ef 100644
--- a/src/sgsn/gprs_llc.c
+++ b/src/sgsn/gprs_llc.c
@@ -1115,7 +1115,7 @@ int gprs_llgmm_unassign(struct gprs_llc_llme *llme)
int gprs_llgmm_reset(struct gprs_llc_llme *llme)
{
struct msgb *msg = msgb_alloc_headroom(4096, 1024, "LLC_XID");
- struct gprs_llc_lle *lle = &llme->lle[1];
+ struct gprs_llc_lle *lle = &llme->lle[GPRS_SAPI_GMM];
uint8_t xid_bytes[1024];
int xid_bytes_len, rc;
uint8_t *xid;