summaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/sgsn_vty.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-11-11 14:01:48 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-12-10 12:42:36 +0100
commit665acd1dbdec2c1e52599f6129ae00c5b5442e72 (patch)
tree9940c3cda83292fe333ae04f3af9d84852ffb53b /openbsc/src/gprs/sgsn_vty.c
parent416c08f9ed340aae21a1d947bcf3a8ab41bb89ce (diff)
sgsn: Do not 'commit' implicitely when executing 'insert'
Currently the gprs_subscr_update function is called when the 'update-subscriber ... insert ...' command is executed. This will eventually notify the GMM layer which is rather the purpose of the 'commit' command. This patch removes the call from update_subscr_insert. Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/src/gprs/sgsn_vty.c')
-rw-r--r--openbsc/src/gprs/sgsn_vty.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/openbsc/src/gprs/sgsn_vty.c b/openbsc/src/gprs/sgsn_vty.c
index 36711c282..a73b77155 100644
--- a/openbsc/src/gprs/sgsn_vty.c
+++ b/openbsc/src/gprs/sgsn_vty.c
@@ -462,8 +462,6 @@ DEFUN(update_subscr_insert, update_subscr_insert_cmd,
if (!strcmp(option, "authorized"))
subscr->authorized = atoi(value);
- gprs_subscr_update(subscr);
-
subscr_put(subscr);
return CMD_SUCCESS;