aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/oml.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-03-18 21:46:44 +0100
committerHarald Welte <laforge@gnumonks.org>2012-03-18 21:46:44 +0100
commit3cf942792a4383ac4fe7d853c687e3d63fa73888 (patch)
treea000bdeaa783c8bbf90d621ae188f3a1b8b5aa20 /src/osmo-bts-sysmo/oml.c
parent21724bbaedf01aa6321d599f4695dbf4f8a94ffc (diff)
correctly print SAPI in log file on MPH-ACTIVATE.req
Diffstat (limited to 'src/osmo-bts-sysmo/oml.c')
-rw-r--r--src/osmo-bts-sysmo/oml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/oml.c b/src/osmo-bts-sysmo/oml.c
index 6636bbcb..9bbd1234 100644
--- a/src/osmo-bts-sysmo/oml.c
+++ b/src/osmo-bts-sysmo/oml.c
@@ -631,7 +631,7 @@ int lchan_activate(struct gsm_lchan *lchan)
LOGP(DL1C, LOGL_INFO, "%s MPH-ACTIVATE.req (hL2=0x%08x, SAPI=%s)\n",
gsm_lchan_name(lchan), act_req->hLayer2,
- get_value_string(femtobts_l1sapi_names, i));
+ get_value_string(femtobts_l1sapi_names, act_req->sapi));
/* send the primitive for all GsmL1_Sapi_* that match the LCHAN */
l1if_req_compl(fl1h, msg, 0, lchan_act_compl_cb, lchan);