diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-10-02 17:20:42 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-10-02 19:03:41 +0200 |
commit | 76837bddb783caabd34294706da2ae0a7f12ad55 (patch) | |
tree | dd64ea3de18918f6f77f3fa812f249bdf0125093 /src | |
parent | 16da58d0c0b662cae3776f752a5e5cfef925d827 (diff) |
l1sap: Log conn dropped due to radio link counter timeout
Change-Id: I78c5ff00be8d2c870ed0277294a8e499ba8a8d95
Diffstat (limited to 'src')
-rw-r--r-- | src/common/l1sap.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c index f07e79ca..a77b53ab 100644 --- a/src/common/l1sap.c +++ b/src/common/l1sap.c @@ -1026,8 +1026,12 @@ static void radio_link_timeout(struct gsm_lchan *lchan, int bad_frame) lchan->s--; DEBUGP(DMEAS, "%s counting down radio link counter S=%d\n", gsm_lchan_name(lchan), lchan->s); - if (lchan->s == 0) + if (lchan->s == 0) { + LOGPLCHAN(lchan, DMEAS, LOGL_NOTICE, + "radio link counter timeout S=%d, dropping conn\n", + lchan->s); rsl_tx_conn_fail(lchan, RSL_ERR_RADIO_LINK_FAIL); + } return; } |