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
This commit is contained in:
Jacob Erlbeck 2014-11-11 14:01:48 +01:00 committed by Holger Hans Peter Freyther
parent 416c08f9ed
commit 665acd1dbd
1 changed files with 0 additions and 2 deletions

View File

@ -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;