summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-08-26 19:14:55 +0200
committerHarald Welte <laforge@gnumonks.org>2011-08-26 19:14:55 +0200
commitb4d913d336d7a52dff840378726b1d3dc5f81268 (patch)
treeb0a7a1aaa83463d0415e0bfc06463e9a13d20c60
parent0eae6136e2decd8d89570550302b26b10c1ab4ea (diff)
BTS support: nokia/ericcson - use e1inp_ts->lapd
the lapd member has moved from the .driver.dahdi.lapd to the more generic lapd location inside 'struct e1inp_ts'
-rw-r--r--openbsc/src/libbsc/bts_ericsson_rbs2000.c4
-rw-r--r--openbsc/src/libbsc/bts_nokia_site.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/openbsc/src/libbsc/bts_ericsson_rbs2000.c b/openbsc/src/libbsc/bts_ericsson_rbs2000.c
index 28e7df4cc..5c7519236 100644
--- a/openbsc/src/libbsc/bts_ericsson_rbs2000.c
+++ b/openbsc/src/libbsc/bts_ericsson_rbs2000.c
@@ -70,9 +70,9 @@ static void start_sabm_in_line(struct e1inp_line *line, int start)
llist_for_each_entry(link, &ts->sign.sign_links, list) {
if (start)
- lapd_sap_start(ts->driver.dahdi.lapd, link->tei, link->sapi);
+ lapd_sap_start(ts->lapd, link->tei, link->sapi);
else
- lapd_sap_stop(ts->driver.dahdi.lapd, link->tei, link->sapi);
+ lapd_sap_stop(ts->lapd, link->tei, link->sapi);
}
}
}
diff --git a/openbsc/src/libbsc/bts_nokia_site.c b/openbsc/src/libbsc/bts_nokia_site.c
index fa8f43eb3..4b5c50f98 100644
--- a/openbsc/src/libbsc/bts_nokia_site.c
+++ b/openbsc/src/libbsc/bts_nokia_site.c
@@ -105,10 +105,10 @@ void start_sabm_in_line(struct e1inp_line *line, int start, int sapi)
#endif
if (start)
- lapd_sap_start(ts->driver.dahdi.lapd, link->tei,
+ lapd_sap_start(ts->lapd, link->tei,
link->sapi);
else
- lapd_sap_stop(ts->driver.dahdi.lapd, link->tei,
+ lapd_sap_stop(ts->lapd, link->tei,
link->sapi);
}
}