aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-01-20 19:29:45 +0100
committerHarald Welte <laforge@gnumonks.org>2016-02-15 14:27:04 +0100
commit8f0266b8855df7569a6b6a9a6e62b18e004de20d (patch)
treef40e9ab239bdd60a34888b10e13dc03784ee58c9
parent234309878edffba3d2cf76992fc0e311dd94b827 (diff)
LC15: cosmetic whitespace fixes
-rw-r--r--src/osmo-bts-litecell15/calib_file.c8
-rw-r--r--src/osmo-bts-litecell15/hw_misc.c4
-rw-r--r--src/osmo-bts-litecell15/l1_if.c4
-rw-r--r--src/osmo-bts-litecell15/main.c6
-rw-r--r--src/osmo-bts-litecell15/oml.c4
5 files changed, 13 insertions, 13 deletions
diff --git a/src/osmo-bts-litecell15/calib_file.c b/src/osmo-bts-litecell15/calib_file.c
index 141d552b..2a35a05c 100644
--- a/src/osmo-bts-litecell15/calib_file.c
+++ b/src/osmo-bts-litecell15/calib_file.c
@@ -217,16 +217,16 @@ static int calib_send_compl_cb(struct gsm_bts_trx *trx, struct msgb *l1_msg,
LOGP(DL1C, LOGL_ERROR, "L1 rejected calibration table\n");
msgb_free(l1_msg);
-
+
calib_file_close(fl1h);
-
+
/* Skip this one and try the next one */
st->last_file_idx = get_next_calib_file_idx(fl1h, st->last_file_idx);
if (st->last_file_idx >= 0) {
return calib_file_send(fl1h,
&calib_files[st->last_file_idx]);
}
-
+
LOGP(DL1C, LOGL_INFO, "L1 calibration table loading complete!\n");
return 0;
}
@@ -252,7 +252,7 @@ int calib_load(struct lc15l1_hdl *fl1h)
return -1;
}
st->last_file_idx = rc;
-
+
return calib_file_send(fl1h, &calib_files[st->last_file_idx]);
}
diff --git a/src/osmo-bts-litecell15/hw_misc.c b/src/osmo-bts-litecell15/hw_misc.c
index 007c90ec..cd53e26b 100644
--- a/src/osmo-bts-litecell15/hw_misc.c
+++ b/src/osmo-bts-litecell15/hw_misc.c
@@ -66,7 +66,7 @@ int lc15bts_led_set(enum lc15bts_led_color c)
fd = open("/sys/class/leds/usr0/brightness", O_WRONLY);
if (fd < 0)
return -ENODEV;
-
+
rc = write(fd, cmd[0] ? "1" : "0", 2);
if (rc != 2) {
return -1;
@@ -76,7 +76,7 @@ int lc15bts_led_set(enum lc15bts_led_color c)
fd = open("/sys/class/leds/usr1/brightness", O_WRONLY);
if (fd < 0)
return -ENODEV;
-
+
rc = write(fd, cmd[1] ? "1" : "0", 2);
if (rc != 2) {
return -1;
diff --git a/src/osmo-bts-litecell15/l1_if.c b/src/osmo-bts-litecell15/l1_if.c
index 720ff739..e7b769a9 100644
--- a/src/osmo-bts-litecell15/l1_if.c
+++ b/src/osmo-bts-litecell15/l1_if.c
@@ -1142,10 +1142,10 @@ int l1if_activate_rf(struct lc15l1_hdl *hdl, int on)
sysp->id = Litecell15_PrimId_ActivateRfReq;
sysp->u.activateRfReq.msgq.u8UseTchMsgq = 0;
sysp->u.activateRfReq.msgq.u8UsePdtchMsgq = pcu_direct;
-
+
sysp->u.activateRfReq.u8UnusedTsMode = 0;
sysp->u.activateRfReq.u8McCorrMode = 0;
-
+
/* maximum cell size in quarter-bits, 90 == 12.456 km */
sysp->u.activateRfReq.u8MaxCellSize = 90;
} else {
diff --git a/src/osmo-bts-litecell15/main.c b/src/osmo-bts-litecell15/main.c
index 08513256..f9cacb74 100644
--- a/src/osmo-bts-litecell15/main.c
+++ b/src/osmo-bts-litecell15/main.c
@@ -128,7 +128,7 @@ void bts_update_status(enum bts_global_status which, int on)
void bts_model_print_help()
{
printf( " -p --dsp-trace Set DSP trace flags\n"
- " -w --hw-version Print the targeted HW Version\n"
+ " -w --hw-version Print the targeted HW Version\n"
" -M --pcu-direct Force PCU to access message queue for "
"PDCH dchannel directly\n"
);
@@ -141,7 +141,7 @@ static void print_hwversion()
static char model_name[64] = {0, };
snprintf(model_name, sizeof(model_name), "NuRAN Litecell 1.5 BTS");
-
+
rev = lc15bts_rev_get();
if (rev >= 0) {
snprintf(model_name, sizeof(model_name), "%s Rev %c",
@@ -153,7 +153,7 @@ static void print_hwversion()
snprintf(model_name, sizeof(model_name), "%s (%05X)",
model_name, model);
}
-
+
printf(model_name);
}
diff --git a/src/osmo-bts-litecell15/oml.c b/src/osmo-bts-litecell15/oml.c
index aeef8d67..7aedee17 100644
--- a/src/osmo-bts-litecell15/oml.c
+++ b/src/osmo-bts-litecell15/oml.c
@@ -355,7 +355,7 @@ static int trx_init(struct gsm_bts_trx *trx)
LOGP(DL1C, LOGL_NOTICE, "Init TRX (Band %d, ARFCN %u, TSC %u, RxPower % 2f dBm, "
"TxPower % 2.2f dBm\n", dev_par->freqBand, dev_par->u16Arfcn, dev_par->u8NbTsc,
dev_par->fRxPowerLevel, dev_par->fTxPowerLevel);
-
+
/* send MPH-INIT-REQ, wait for MPH-INIT-CNF */
return l1if_gsm_req_compl(fl1h, msg, trx_init_compl_cb, NULL);
}
@@ -428,7 +428,7 @@ static int ts_connect(struct gsm_bts_trx_ts *ts)
cr = prim_init(msgb_l1prim(msg), GsmL1_PrimId_MphConnectReq, fl1h);
cr->u8Tn = ts->nr;
cr->logChComb = pchan_to_logChComb[ts->pchan];
-
+
return l1if_gsm_req_compl(fl1h, msg, opstart_compl_cb, NULL);
}