From b89550764aac8b1f4b97734cc5451931a34c249d Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 12 Jun 2009 02:41:10 +0800 Subject: Increase LCHAN_RELEASE_TIMEOUT to 10 seconds If we release the LCHAN after the CM SERVICE ACK too early, we can no longer receive longer SMS messages... so let's increase it to 10 secs. --- openbsc/include/openbsc/gsm_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc') diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index cc92a9e35..fcc1f2cbf 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -67,7 +67,7 @@ typedef int gsm_cbfn(unsigned int hooknum, * Use the channel. As side effect the lchannel recycle timer * will be started. */ -#define LCHAN_RELEASE_TIMEOUT 4, 0 +#define LCHAN_RELEASE_TIMEOUT 10, 0 #define use_lchan(lchan) \ do { lchan->use_count++; \ DEBUGP(DCC, "lchan (bts=%d,trx=%d,ts=%d,ch=%d) increases usage to: %d\n", \ -- cgit v1.2.3