From cbbce0be0965c3160c4916384c3d3d5303c57ae2 Mon Sep 17 00:00:00 2001 From: Minh-Quang Nguyen Date: Thu, 9 Jun 2016 16:19:12 -0400 Subject: LC15: Hardware changes: - Change system devices path - Remove obsoleted sensors and add new sensors - Change TRX and sensors numbering to 0,1 instead of 1,2 (JFD) Change-Id: I5172daf68d3145a6398e37df87df21b0e5affe42 --- src/osmo-bts-litecell15/l1_transp_hw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/osmo-bts-litecell15/l1_transp_hw.c') diff --git a/src/osmo-bts-litecell15/l1_transp_hw.c b/src/osmo-bts-litecell15/l1_transp_hw.c index 7e6cd687..63818643 100644 --- a/src/osmo-bts-litecell15/l1_transp_hw.c +++ b/src/osmo-bts-litecell15/l1_transp_hw.c @@ -249,7 +249,7 @@ int l1if_transport_open(int q, struct lc15l1_hdl *hdl) struct osmo_wqueue *wq = &hdl->write_q[q]; struct osmo_fd *write_ofd = &hdl->write_q[q].bfd; - snprintf(buf, sizeof(buf)-1, "%s%d", rd_devnames[q], plink->num+1); + snprintf(buf, sizeof(buf)-1, "%s%d", rd_devnames[q], plink->num); buf[sizeof(buf)-1] = '\0'; rc = open(buf, O_RDONLY); @@ -270,7 +270,7 @@ int l1if_transport_open(int q, struct lc15l1_hdl *hdl) return rc; } - snprintf(buf, sizeof(buf)-1, "%s%d", wr_devnames[q], plink->num+1); + snprintf(buf, sizeof(buf)-1, "%s%d", wr_devnames[q], plink->num); buf[sizeof(buf)-1] = '\0'; rc = open(buf, O_WRONLY); -- cgit v1.2.3