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:
parent
416c08f9ed
commit
665acd1dbd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue