diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-03-22 00:52:12 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-03-22 01:13:07 +0100 |
commit | fa48a98e7156d65f25569d7f3930dc9880a72e78 (patch) | |
tree | 8118cc77afb50e44f2ea0c3d912edab5bd3f8cf7 | |
parent | 9fd87ecd11138efa8bdbb13c47659edaf106e2c3 (diff) |
gsm0408_authorize(): remove unused msgb arg, make non-static
Prepares for calling from IuCS RANAP events.
-rw-r--r-- | openbsc/src/libmsc/gsm_04_08.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/libmsc/gsm_04_08.c b/openbsc/src/libmsc/gsm_04_08.c index e79a21864..156303503 100644 --- a/openbsc/src/libmsc/gsm_04_08.c +++ b/openbsc/src/libmsc/gsm_04_08.c @@ -398,7 +398,7 @@ static int _gsm0408_authorize_sec_cb(unsigned int hooknum, unsigned int event, return rc; } -static int gsm0408_authorize(struct gsm_subscriber_connection *conn, struct msgb *msg) +int gsm0408_authorize(struct gsm_subscriber_connection *conn) { if (!conn->loc_operation) { LOGP(DMM, LOGL_DEBUG, "gsm0408_authorize() failed:" @@ -588,7 +588,7 @@ static int mm_rx_id_resp(struct gsm_subscriber_connection *conn, struct msgb *ms } /* Check if we can let the mobile station enter */ - return gsm0408_authorize(conn, msg); + return gsm0408_authorize(conn); } @@ -719,7 +719,7 @@ static int mm_rx_loc_upd_req(struct gsm_subscriber_connection *conn, struct msgb /* check if we can let the subscriber into our network immediately * or if we need to wait for identity responses. */ - return gsm0408_authorize(conn, msg); + return gsm0408_authorize(conn); } /* Turn int into semi-octet representation: 98 => 0x89 */ |