diff mbox

[1/2] nitb: Be less strict about the reject cause

Message ID 1436873554-12616-1-git-send-email-holger@freyther.de
State Accepted
Headers show

Commit Message

Holger Freyther July 14, 2015, 11:32 a.m. UTC
From: Holger Hans Peter Freyther <holger@moiji-mobile.com>

When we can't find the TMSI then the subscriber is not in our
VLR. We have not consulted with the HLR and it is better to not
use such a severe error code.
---
 openbsc/src/libmsc/gsm_04_08.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/openbsc/src/libmsc/gsm_04_08.c b/openbsc/src/libmsc/gsm_04_08.c
index 29ab2ba..e380d94 100644
--- a/openbsc/src/libmsc/gsm_04_08.c
+++ b/openbsc/src/libmsc/gsm_04_08.c
@@ -968,7 +968,7 @@  static int gsm48_rx_mm_serv_req(struct gsm_subscriber_connection *conn, struct m
 	/* FIXME: if we don't know the TMSI, inquire abit IMSI and allocate new TMSI */
 	if (!subscr)
 		return gsm48_tx_mm_serv_rej(conn,
-					    GSM48_REJECT_IMSI_UNKNOWN_IN_HLR);
+					    GSM48_REJECT_IMSI_UNKNOWN_IN_VLR);
 
 	if (!conn->subscr)
 		conn->subscr = subscr;