mirror of https://gerrit.osmocom.org/libosmocore
[GPRS] NS: Receiving a STATUS message is a NOTICEable event
This commit is contained in:
parent
6703bf76c0
commit
41337832c4
|
@ -556,7 +556,7 @@ static int gprs_ns_rx_status(struct gprs_nsvc *nsvc, struct msgb *msg)
|
||||||
uint8_t cause;
|
uint8_t cause;
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
LOGP(DNS, LOGL_INFO, "NSEI=%u NS STATUS ", nsvc->nsei);
|
LOGP(DNS, LOGL_NOTICE, "NSEI=%u Rx NS STATUS ", nsvc->nsei);
|
||||||
|
|
||||||
rc = tlv_parse(&tp, &ns_att_tlvdef, nsh->data, msgb_l2len(msg), 0, 0);
|
rc = tlv_parse(&tp, &ns_att_tlvdef, nsh->data, msgb_l2len(msg), 0, 0);
|
||||||
|
|
||||||
|
@ -566,7 +566,7 @@ static int gprs_ns_rx_status(struct gprs_nsvc *nsvc, struct msgb *msg)
|
||||||
}
|
}
|
||||||
|
|
||||||
cause = *TLVP_VAL(&tp, NS_IE_CAUSE);
|
cause = *TLVP_VAL(&tp, NS_IE_CAUSE);
|
||||||
LOGPC(DNS, LOGL_INFO, "cause=%s\n", gprs_ns_cause_str(cause));
|
LOGPC(DNS, LOGL_NOTICE, "cause=%s\n", gprs_ns_cause_str(cause));
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue