aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-01-25 11:07:12 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-02-27 10:44:01 +0100
commitfaba73a81230db1e549aa43b6a5ee7902b45f919 (patch)
treea7599ac6d3b9db1655d8b7510404bf54deb7035d /tests
parent305d8314bce8f10d9c42aa8e19ccd7960fc5f194 (diff)
sysmobts: Improve the shutdown of the DSP on exit
Issue the RfDeactivate.REQ before sending the MphClose.REQ. Ideally we would issue MphClose.REQ after the RfDeactivate.CNF but this is not possible right now. The current approach makes the following warning of the DSP go away on shutdown. This was tested with my E71 and an active silent-call using a SDCCH. DSP Warning: [ERROR] : DeviceMng_ValidateL1Handle() => Invalid layer 1 handle
Diffstat (limited to 'tests')
-rw-r--r--tests/cipher/cipher_test.c2
-rw-r--r--tests/paging/paging_test.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/cipher/cipher_test.c b/tests/cipher/cipher_test.c
index 7d037c21..9de18d96 100644
--- a/tests/cipher/cipher_test.c
+++ b/tests/cipher/cipher_test.c
@@ -108,6 +108,8 @@ int bts_model_rsl_deact_sacch(struct gsm_lchan *lchan)
int bts_model_trx_deact_rf(struct gsm_bts_trx *trx)
{ return 0; }
+int bts_model_trx_close(struct gsm_bts_trx *trx)
+{ return 0; }
int bts_model_check_oml(struct gsm_bts *bts, uint8_t msg_type,
struct tlv_parsed *old_attr, struct tlv_parsed *new_attr,
void *obj)
diff --git a/tests/paging/paging_test.c b/tests/paging/paging_test.c
index a0a39355..ae02b618 100644
--- a/tests/paging/paging_test.c
+++ b/tests/paging/paging_test.c
@@ -142,6 +142,8 @@ int bts_model_rsl_deact_sacch(struct gsm_lchan *lchan)
int bts_model_trx_deact_rf(struct gsm_bts_trx *trx)
{ return 0; }
+int bts_model_trx_close(struct gsm_bts_trx *trx)
+{ return 0; }
int bts_model_check_oml(struct gsm_bts *bts, uint8_t msg_type,
struct tlv_parsed *old_attr, struct tlv_parsed *new_attr,
void *obj)