aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/token_auth.c
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2009-12-24 00:23:46 +0100
committerHarald Welte <laforge@netfilter.org>2010-01-03 10:53:22 +0100
commitbd55a6dd316f49e11b20f7935c8a8b7153cdf698 (patch)
treef42b062c07e22836bb361557c86ac31f7ed209c1 /openbsc/src/token_auth.c
parent99792900e8a8aefacf7f5c931014a45d0c57d411 (diff)
gsm_04_08: Specify key_seq when calling gsm48_tx_mm_auth_req
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'openbsc/src/token_auth.c')
-rw-r--r--openbsc/src/token_auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/token_auth.c b/openbsc/src/token_auth.c
index f6be0bc98..fd81f035a 100644
--- a/openbsc/src/token_auth.c
+++ b/openbsc/src/token_auth.c
@@ -103,7 +103,7 @@ unauth:
if (lchan) {
u_int8_t auth_rand[16];
/* kick the subscriber off the network */
- gsm48_tx_mm_auth_req(lchan, auth_rand);
+ gsm48_tx_mm_auth_req(lchan, auth_rand, 0);
gsm48_tx_mm_auth_rej(lchan);
/* FIXME: close the channel early ?*/
//gsm48_send_rr_Release(lchan);
@@ -139,7 +139,7 @@ static int token_sms_cb(unsigned int subsys, unsigned int signal,
lchan = lchan_for_subscr(sms->receiver);
if (lchan) {
/* kick the subscriber off the network */
- gsm48_tx_mm_auth_req(lchan, auth_rand);
+ gsm48_tx_mm_auth_req(lchan, auth_rand, 0);
gsm48_tx_mm_auth_rej(lchan);
/* FIXME: close the channel early ?*/
//gsm48_send_rr_Release(lchan);