aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-12-24 12:26:13 +0100
committerHarald Welte <laforge@gnumonks.org>2010-12-24 12:26:13 +0100
commitb29cea1d9cf5f52f0951bbd772eb965983350488 (patch)
tree885527c5f7b6307bdd76293861d721b1147724ab /openbsc
parent712ddbcd72af2f06ba6d1ef6208e59e5de04ee65 (diff)
Fix some stupid typos resulting in compile errors.
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/bsc_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/bsc_vty.c b/openbsc/src/bsc_vty.c
index 0c16164d6..82737e3c7 100644
--- a/openbsc/src/bsc_vty.c
+++ b/openbsc/src/bsc_vty.c
@@ -637,7 +637,7 @@ static void ts_dump_vty(struct vty *vty, struct gsm_bts_trx_ts *ts)
ts->trx->bts->nr, ts->trx->nr, ts->nr,
gsm_pchan_name(ts->pchan));
if (ts->pchan == GSM_PCHAN_TCH_F_PDCH)
- vty_out(" (%s mode)",
+ vty_out(vty, " (%s mode)",
ts->flags & TS_F_PDCH_MODE ? "PDCH" : "TCH/F");
vty_out(vty, "%s", VTY_NEWLINE);
vty_out(vty, " NM State: ");
@@ -824,7 +824,7 @@ static void lchan_dump_short_vty(struct vty *vty, struct gsm_lchan *lchan)
vty_out(vty, "BTS %u, TRX %u, Timeslot %u, Lchan %u, Type %s - "
"L1 MS Power: %u dBm RXL-FULL-dl: %4d dBm RXL-FULL-ul: %4d dBm%s",
lchan->ts->trx->bts->nr, lchan->ts->trx->nr, lchan->ts->nr,
- lchan->nr, gsm_lchant_name(lchan->type), mr->ms_l1_pwr,
+ lchan->nr, gsm_lchant_name(lchan->type), mr->ms_l1.pwr,
rxlev2dbm(mr->dl.full.rx_lev),
rxlev2dbm(mr->ul.full.rx_lev),
VTY_NEWLINE);