diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-07-02 16:18:18 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-07-02 16:18:18 +0200 |
commit | 18d1452a92d72946bf35ce91e540494aec32bcd3 (patch) | |
tree | 075d852d3b7eb33688cea740b729ab9c3e84c60d | |
parent | ab4094ca6b68fccae028c3edfeebe0cc1e44be8d (diff) |
[SGSN] Send poper SM and GMM STATUS in case we have no MM CTX
-rw-r--r-- | openbsc/src/gprs/gprs_gmm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gprs_gmm.c b/openbsc/src/gprs/gprs_gmm.c index dac6c1b25..48d162f82 100644 --- a/openbsc/src/gprs/gprs_gmm.c +++ b/openbsc/src/gprs/gprs_gmm.c @@ -1245,7 +1245,8 @@ static int gsm0408_rcv_gsm(struct sgsn_mm_ctx *mmctx, struct msgb *msg, if (!mmctx) { LOGP(DMM, LOGL_NOTICE, "Cannot handle SM for unknown MM CTX\n"); - return gsm48_tx_gmm_status_oldmsg(msg, GSM_CAUSE_PROTO_ERR_UNSPEC); + gsm48_tx_gmm_status_oldmsg(msg, GMM_CAUSE_IMPL_DETACHED); + return gsm48_tx_sm_status_oldmsg(msg, GSM_CAUSE_PROTO_ERR_UNSPEC); } switch (gh->msg_type) { |