diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2014-10-31 12:20:49 +0100 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2014-11-03 10:21:20 +0100 |
commit | ed7938ffd98223b708c1e03b8501e4e42821bc41 (patch) | |
tree | 1c5a735c59152f4a087729b96fd5e0a1faa8303b /openbsc/src/gprs/gprs_sgsn.c | |
parent | f00eb01918336841a2ff6ee42f58c9da70ae5794 (diff) |
sgsn: Split gsm0408_gprs_force_reattach into 2 functions
This patch replaces gsm0408_gprs_force_reattach(msg, mmctx) by two
functions
- gsm0408_gprs_force_reattach(mmctx)
- gsm0408_gprs_force_reattach_oldmsg(msg)
The old function basically consists of the code of the two new
functions, where the code patch selected depends on mmctx == NULL,
which is harder to maintain, less obvious to use, and not consistent
with many other SGSN functions.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/src/gprs/gprs_sgsn.c')
-rw-r--r-- | openbsc/src/gprs/gprs_sgsn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gprs_sgsn.c b/openbsc/src/gprs/gprs_sgsn.c index 15f475394..c4ff3c27d 100644 --- a/openbsc/src/gprs/gprs_sgsn.c +++ b/openbsc/src/gprs/gprs_sgsn.c @@ -448,6 +448,6 @@ int drop_all_pdp_for_ggsn(struct sgsn_ggsn_ctx *ggsn) int sgsn_force_reattach_oldmsg(struct msgb *oldmsg) { - return gsm0408_gprs_force_reattach(oldmsg, NULL); + return gsm0408_gprs_force_reattach_oldmsg(oldmsg); } |