path: root/openbsc
diff options
authorHarald Welte <laforge@gnumonks.org>2009-07-04 09:35:21 +0200
committerHarald Welte <laforge@gnumonks.org>2009-07-04 09:35:21 +0200
commit1a5c6bd88c62a31c55cece38debc4b7525b5cd95 (patch)
tree744cbece0ba039a087aa08eeb6c2cdc2f6f226b8 /openbsc
parentdd2b434b20e732b8e8019635692a44274aa79d43 (diff)
gsm48 lchan signal handling: use correct pointer
As Andreas Eversberg has pointed out, we need to use signal_data rather than handler_data.
Diffstat (limited to 'openbsc')
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c
index dc70c866a..3b0b51df8 100644
--- a/openbsc/src/gsm_04_08.c
+++ b/openbsc/src/gsm_04_08.c
@@ -385,7 +385,7 @@ static int gsm0408_handle_lchan_signal(unsigned int subsys, unsigned int signal,
* Cancel any outstanding location updating request
* operation taking place on the lchan.
- struct gsm_lchan *lchan = (struct gsm_lchan *)handler_data;
+ struct gsm_lchan *lchan = (struct gsm_lchan *)signal_data;
if (!lchan)
return 0;