From c88ed31d9ef9492a1d4e36d1c62f7849c641e8ee Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Fri, 17 Mar 2023 15:29:17 +0100 Subject: [PATCH] cosmetic: gsm_pchan2chan_nr(): Update spec documentation Change-Id: If1de230f022c69f3dfce8a7c66d494a984e7f3f9 --- src/common/lchan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/lchan.c b/src/common/lchan.c index 638f30aa4..8d2b64963 100644 --- a/src/common/lchan.c +++ b/src/common/lchan.c @@ -322,7 +322,7 @@ void lchan_set_state(struct gsm_lchan *lchan, enum gsm_lchan_state state) } } -/* See Table 10.5.25 of GSM04.08 */ +/* See 3GPP TS 44.018 Table 10.5.2.5.1 "Channel Description information element" */ static uint8_t gsm_pchan2chan_nr(enum gsm_phys_chan_config pchan, uint8_t ts_nr, uint8_t lchan_nr) { @@ -369,7 +369,7 @@ static uint8_t gsm_pchan2chan_nr(enum gsm_phys_chan_config pchan, case GSM_PCHAN_NONE: LOGP(DRSL, LOGL_ERROR, "ts=%u,ss=%u Physical channel %s not expected!\n", ts_nr, lchan_nr, gsm_pchan_name(pchan)); - cbits = 0x00; + cbits = 0x00; /* Reserved */ break; default: LOGP(DRSL, LOGL_ERROR, "ts=%u,ss=%u Physical channel %s (0x%02x) not expected!\n",