diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-11-11 18:26:23 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-11-11 18:33:17 +0100 |
commit | de1674ab02d7c30f7f40f03d6942b7933d9d6d58 (patch) | |
tree | e3829aef5b1763df61e96d0a21019997877bb033 /openbsc/include/openbsc/signal.h | |
parent | 75172124e7260a25e96d3bc385d30f02c8c1f49d (diff) |
bts: Really drop the BTS in case of an OML NACK
The previous code didn't work as expected. The trx and dst pointer
are located in an union and in the case of the Abis code the dst
is used to point to the signalling link timeslot and not the TRX.
The is_ipaccess_bts always returned false because the dst was casted
to a trx while it was no trx.
This fix was tested with the nack_test/NACKTest.st of the test repo.
Diffstat (limited to 'openbsc/include/openbsc/signal.h')
-rw-r--r-- | openbsc/include/openbsc/signal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/signal.h b/openbsc/include/openbsc/signal.h index fa38bbe03..598d470f5 100644 --- a/openbsc/include/openbsc/signal.h +++ b/openbsc/include/openbsc/signal.h @@ -185,6 +185,7 @@ struct nm_om2k_signal_data { struct nm_nack_signal_data { struct msgb *msg; + struct gsm_bts *bts; uint8_t mt; }; |