aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gprs_sndcp.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-06-02 10:26:19 +0200
committerHarald Welte <laforge@gnumonks.org>2010-06-02 10:26:19 +0200
commit69996cb53418529d74d2ef305ea39597766256c1 (patch)
tree4c4c336b245695dae93a987a045456ed842899dd /openbsc/src/gprs/gprs_sndcp.c
parent16836a37aab8856ed75232b3f1673c591eb0bb14 (diff)
[GPRS] SNDCP use DSNDCP instead of DGPRS
Diffstat (limited to 'openbsc/src/gprs/gprs_sndcp.c')
-rw-r--r--openbsc/src/gprs/gprs_sndcp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/openbsc/src/gprs/gprs_sndcp.c b/openbsc/src/gprs/gprs_sndcp.c
index 694d11a2d..debadbae1 100644
--- a/openbsc/src/gprs/gprs_sndcp.c
+++ b/openbsc/src/gprs/gprs_sndcp.c
@@ -175,30 +175,30 @@ int sndcp_llunitdata_ind(struct msgb *msg, struct gprs_llc_lle *lle, uint8_t *hd
int npdu_len;
if (sch->type == 0) {
- LOGP(DGPRS, LOGL_ERROR, "SN-DATA PDU at unitdata_ind() function\n");
+ LOGP(DSNDCP, LOGL_ERROR, "SN-DATA PDU at unitdata_ind() function\n");
return -EINVAL;
}
if (len < sizeof(*sch) + sizeof(*suh)) {
- LOGP(DGPRS, LOGL_ERROR, "SN-UNITDATA PDU too short (%u)\n", len);
+ LOGP(DSNDCP, LOGL_ERROR, "SN-UNITDATA PDU too short (%u)\n", len);
return -EIO;
}
sne = sndcp_entity_by_lle(lle, sch->nsapi);
if (!sne) {
- LOGP(DGPRS, LOGL_ERROR, "Message for non-existing SNDCP Entity "
+ LOGP(DSNDCP, LOGL_ERROR, "Message for non-existing SNDCP Entity "
"(TLLI=%08x, NSAPI=%u)\n", lle->llme->tlli, sch->nsapi);
return -EIO;
}
if (!sch->first || sch->more) {
/* FIXME: implement fragment re-assembly */
- LOGP(DGPRS, LOGL_ERROR, "We don't support reassembly yet\n");
+ LOGP(DSNDCP, LOGL_ERROR, "We don't support reassembly yet\n");
return -EIO;
}
if (sch->pcomp || sch->dcomp) {
- LOGP(DGPRS, LOGL_ERROR, "We don't support compression yet\n");
+ LOGP(DSNDCP, LOGL_ERROR, "We don't support compression yet\n");
return -EIO;
}
@@ -207,7 +207,7 @@ int sndcp_llunitdata_ind(struct msgb *msg, struct gprs_llc_lle *lle, uint8_t *hd
npdu = (uint8_t *)suh + sizeof(*suh);
npdu_len = (msg->data + msg->len) - npdu;
if (npdu_len) {
- LOGP(DGPRS, LOGL_ERROR, "Short SNDCP N-PDU: %d\n", npdu_len);
+ LOGP(DSNDCP, LOGL_ERROR, "Short SNDCP N-PDU: %d\n", npdu_len);
return -EIO;
}
/* actually send the N-PDU to the SGSN core code, which then