gprs_llc.c: Use enum instead of hardcoded value

Change-Id: I89815f44f615a188f46a13f3785b3f7484f73bb3
This commit is contained in:
Pau Espin 2019-11-21 16:15:52 +01:00
parent 029a70e493
commit b71d2c5ddd
1 changed files with 1 additions and 1 deletions

View File

@ -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;