aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/osmo_bsc_grace.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-06-11 02:40:30 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-06-16 15:56:14 +0200
commitc10a77af68c231a026b4f0aa2faf86c584e08eb6 (patch)
tree75e1b15068d2f25054c5a84ee16cdae957508059 /src/osmo-bsc/osmo_bsc_grace.c
parent73e028416e82f5f6b21d7f323fd907110ae02d74 (diff)
code bomb: refactor just about everything for inter-bsc HOneels/inter_bsc_ho_saved
This is way too large, yet the typical tangle of modification onto modifications needs to be squashed to make sensible bits of them later for code review... Change-Id: I82e3f918295daa83274a4cf803f046979f284366
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_grace.c')
-rw-r--r--src/osmo-bsc/osmo_bsc_grace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osmo-bsc/osmo_bsc_grace.c b/src/osmo-bsc/osmo_bsc_grace.c
index 705933cb4..d096611be 100644
--- a/src/osmo-bsc/osmo_bsc_grace.c
+++ b/src/osmo-bsc/osmo_bsc_grace.c
@@ -25,6 +25,7 @@
#include <osmocom/bsc/bsc_subscriber.h>
#include <osmocom/bsc/paging.h>
#include <osmocom/bsc/signal.h>
+#include <osmocom/bsc/lchan_fsm.h>
int bsc_grace_allow_new_connection(struct gsm_network *network, struct gsm_bts *bts)
{
@@ -89,7 +90,7 @@ static int handle_sub(struct gsm_lchan *lchan, const char *text)
return -1;
/* only when active */
- if (lchan->state != LCHAN_S_ACTIVE)
+ if (lchan->fi->state != LCHAN_ST_ACTIVE)
return -1;
bsc_send_ussd_notify(conn, 0, text);