diff options
Diffstat (limited to 'src/osmo-bts-litecell15/l1_transp_hw.c')
-rw-r--r-- | src/osmo-bts-litecell15/l1_transp_hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bts-litecell15/l1_transp_hw.c b/src/osmo-bts-litecell15/l1_transp_hw.c index 63818643..7e6cd687 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); + snprintf(buf, sizeof(buf)-1, "%s%d", rd_devnames[q], plink->num+1); 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); + snprintf(buf, sizeof(buf)-1, "%s%d", wr_devnames[q], plink->num+1); buf[sizeof(buf)-1] = '\0'; rc = open(buf, O_WRONLY); |