diff options
Diffstat (limited to 'src/common/l1sap.c')
-rw-r--r-- | src/common/l1sap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c index fd8c54eb..b9104b70 100644 --- a/src/common/l1sap.c +++ b/src/common/l1sap.c @@ -809,6 +809,10 @@ static void radio_link_timeout(struct gsm_lchan *lchan, int bad_frame) { struct gsm_bts_role_bts *btsb = lchan->ts->trx->bts->role; + /* Bypass radio link timeout if set to -1 */ + if (btsb->radio_link_timeout < 0) + return; + /* if link loss criterion already reached */ if (lchan->s == 0) { DEBUGP(DMEAS, "%s radio link counter S already 0.\n", |