aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-05-11 16:47:59 +0200
committerHarald Welte <laforge@gnumonks.org>2018-05-11 16:47:59 +0200
commitd3941c6a982f67fa0012bde2a317bd6d6da0e98f (patch)
tree2986a87c41054e93141b2a2df7d0611f44889d03
parent0c756eb5ecf64ce233cb7a81083c49c5274d75dc (diff)
osmo_e1.c: Fix handling of TS2..31 (use 'i', not '1')
-rw-r--r--src/osmo_e1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo_e1.c b/src/osmo_e1.c
index 2ad535e..5134965 100644
--- a/src/osmo_e1.c
+++ b/src/osmo_e1.c
@@ -648,7 +648,7 @@ int osmo_e1_rx_frame(struct osmo_e1_instance *e1i, const uint8_t *in_frame)
for (i = 1; i < ARRAY_SIZE(e1i->ts); i++) {
struct osmo_e1_instance_ts *e1t = &e1i->ts[i];
- e1_rx_tsN(e1t, in_frame[1]);
+ e1_rx_tsN(e1t, in_frame[i]);
}
return 0;