Change-Id: I2f1f37887aa04ddc3f0216f107863cd2ea578401
This commit is contained in:
Neels Hofmeyr 2018-04-23 17:06:32 +02:00
parent 3c49a5f7d7
commit 39dcb9e6e3
1 changed files with 3 additions and 1 deletions

View File

@ -632,13 +632,15 @@ int create_context_ind(struct pdp_t *pdp)
memcpy(pdp->qos_neg0, pdp->qos_req0, sizeof(pdp->qos_req0));
#if 0
#if 1
memcpy(pdp->qos_neg.v, pdp->qos_req.v, pdp->qos_req.l); /* TODO */
pdp->qos_neg.l = pdp->qos_req.l;
#else
LOGPPDP(LOGL_ERROR, pdp, "PATCHING QoS to 14 bytes of zero\n");
memset(pdp->qos_neg.v, 0, sizeof(pdp->qos_neg.v));
pdp->qos_neg.l = 0xe;
#endif
LOGPPDP(LOGL_ERROR, pdp, "SENDING QoS 0x%x %s\n", pdp->qos_neg.l, osmo_hexdump(pdp->qos_neg.v, pdp->qos_neg.l));
memset(addr, 0, sizeof(addr));
if ((num_addr = in46a_from_eua(&pdp->eua, addr)) < 0) {