aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/token_auth.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-12-24 10:15:55 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-12-26 09:40:02 +0100
commit04144c1905d2ccc7b6783b0cccc2f9c11079354b (patch)
treed0aae2af68324da3af6d84d8e0f9f78780f3f047 /openbsc/src/token_auth.c
parent0eb7666efa5644266cb0791b84f7c3e396c70806 (diff)
sms: Create signal data for SMS with more information
This is providing access to the paging result, the sms, the transaction. This will allow the SMS queue to do decisions based on the source of the failure.
Diffstat (limited to 'openbsc/src/token_auth.c')
-rw-r--r--openbsc/src/token_auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/token_auth.c b/openbsc/src/token_auth.c
index dc8cce251..9e671521b 100644
--- a/openbsc/src/token_auth.c
+++ b/openbsc/src/token_auth.c
@@ -117,7 +117,8 @@ unauth:
static int token_sms_cb(unsigned int subsys, unsigned int signal,
void *handler_data, void *signal_data)
{
- struct gsm_sms *sms = signal_data;
+ struct sms_signal_data *sig = signal_data;
+ struct gsm_sms *sms = sig->sms;;
struct gsm_subscriber_connection *conn;
u_int8_t auth_rand[16];