path: root/openbsc/src/gprs/gprs_llc.c
diff options
authorSylvain Munaut <tnt@246tNt.com>2010-07-03 22:03:02 +0200
committerSylvain Munaut <tnt@246tNt.com>2010-07-03 22:24:13 +0200
commit6f3850fcac2e3edcf18820b6e6a55cd561d24483 (patch)
tree951b6a599c187102f24d5bf2a9b7e60e2d371859 /openbsc/src/gprs/gprs_llc.c
parent7a7d364725907c07784985f873231f57f5289d48 (diff)
gprs/llc: Don't check FCS in gprs_llc_hdr_dump
The FCS isn't computed yet (because of ciphering). It _will_ be tested and reported as wrong later in the code so we can just display it here and let the latter code report the error if any. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'openbsc/src/gprs/gprs_llc.c')
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/gprs/gprs_llc.c b/openbsc/src/gprs/gprs_llc.c
index ff6fe4bc2..69c80417f 100644
--- a/openbsc/src/gprs/gprs_llc.c
+++ b/openbsc/src/gprs/gprs_llc.c
@@ -405,9 +405,9 @@ int gprs_llc_tx_ui(struct msgb *msg, uint8_t sapi, int command,
static void gprs_llc_hdr_dump(struct gprs_llc_hdr_parsed *gph)
- DEBUGP(DLLC, "LLC SAPI=%u %c %c FCS=0x%06x(%s) ",
+ DEBUGP(DLLC, "LLC SAPI=%u %c %c FCS=0x%06x",
gph->sapi, gph->is_cmd ? 'C' : 'R', gph->ack_req ? 'A' : ' ',
- gph->fcs, gph->fcs_calc == gph->fcs ? "correct" : "WRONG");
+ gph->fcs);
if (gph->cmd)
DEBUGPC(DLLC, "CMD=%s ", get_value_string(llc_cmd_strs, gph->cmd));