aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_bssgp_pcu.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-06 20:23:56 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-06 20:23:56 +0100
commit28e5378b55acbb132d8855739351be832983cb68 (patch)
tree887593cdbe2151ff0b898fee0feedc1f8e7909c6 /src/gprs_bssgp_pcu.cpp
parent9948514086594517ea3b72329d5c9bae7151f78f (diff)
llc: Begin creating a LLC class and move counts into it.
Begin to move state of the LLC into a separate object. This will allow to make side-effects more clear and kill some code duplication.
Diffstat (limited to 'src/gprs_bssgp_pcu.cpp')
-rw-r--r--src/gprs_bssgp_pcu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp
index d8ba09c7..db025849 100644
--- a/src/gprs_bssgp_pcu.cpp
+++ b/src/gprs_bssgp_pcu.cpp
@@ -122,7 +122,7 @@ static int gprs_bssgp_pcu_rx_dl_ud(struct msgb *msg, struct tlv_parsed *tp)
data = (uint8_t *) TLVP_VAL(tp, BSSGP_IE_LLC_PDU);
len = TLVP_LEN(tp, BSSGP_IE_LLC_PDU);
- if (len > sizeof(gprs_rlcmac_tbf::llc_frame))
+ if (len > sizeof(gprs_llc::frame))
{
LOGP(DBSSGP, LOGL_NOTICE, "BSSGP TLLI=0x%08x Rx UL-UD IE_LLC_PDU too large\n", tlli);
return bssgp_tx_status(BSSGP_CAUSE_COND_IE_ERR, NULL, msg);