aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-oc2g
diff options
context:
space:
mode:
authorMartin Hauke <mardnh@gmx.de>2019-10-13 19:09:39 +0200
committerlaforge <laforge@osmocom.org>2019-10-17 08:05:35 +0000
commitb378fccef11b41009f224ded1f42bdbf254eee6d (patch)
tree4e311110af84948fc3e93425b674c9fcac449d76 /src/osmo-bts-oc2g
parentb58fb35754591846dc20420da29e504166290eea (diff)
Fix common misspellings and typos
Diffstat (limited to 'src/osmo-bts-oc2g')
-rw-r--r--src/osmo-bts-oc2g/calib_file.c2
-rw-r--r--src/osmo-bts-oc2g/l1_if.c2
-rw-r--r--src/osmo-bts-oc2g/misc/oc2gbts_mgr_vty.c14
-rw-r--r--src/osmo-bts-oc2g/misc/oc2gbts_misc.c2
-rw-r--r--src/osmo-bts-oc2g/oml.c2
5 files changed, 11 insertions, 11 deletions
diff --git a/src/osmo-bts-oc2g/calib_file.c b/src/osmo-bts-oc2g/calib_file.c
index 6d2d5610..22122ab3 100644
--- a/src/osmo-bts-oc2g/calib_file.c
+++ b/src/osmo-bts-oc2g/calib_file.c
@@ -307,7 +307,7 @@ static int calib_verify(struct oc2gl1_hdl *fl1h, const struct calib_file_desc *d
fseek(st->fp, 0L, SEEK_END);
sz = ftell(st->fp);
- /* rewind read poiner */
+ /* rewind read pointer */
fseek(st->fp, 0L, SEEK_SET);
/* read file */
diff --git a/src/osmo-bts-oc2g/l1_if.c b/src/osmo-bts-oc2g/l1_if.c
index d8be2d6d..425fd0d4 100644
--- a/src/osmo-bts-oc2g/l1_if.c
+++ b/src/osmo-bts-oc2g/l1_if.c
@@ -1533,7 +1533,7 @@ static int reset_compl_cb(struct gsm_bts_trx *trx, struct msgb *resp,
return 0;
}
-/* FIXME: This delays the TRX initalization by 5 sec in order to avoid the
+/* FIXME: This delays the TRX initialization by 5 sec in order to avoid the
* occurrence of a race condition in the OML bringup. This a work around and
* should be fixed properly. See also OS#3782, OS#2470 and OS#2469 */
void l1if_reset_cb(void *arg)
diff --git a/src/osmo-bts-oc2g/misc/oc2gbts_mgr_vty.c b/src/osmo-bts-oc2g/misc/oc2gbts_mgr_vty.c
index 7e80e030..9693eab6 100644
--- a/src/osmo-bts-oc2g/misc/oc2gbts_mgr_vty.c
+++ b/src/osmo-bts-oc2g/misc/oc2gbts_mgr_vty.c
@@ -512,35 +512,35 @@ DEFUN(show_mgr, show_mgr_cmd, "show manager",
oc2gbts_mgr_sensor_get_state(s_mgr->state.state), VTY_NEWLINE);
vty_out(vty, "Current Temperatures%s", VTY_NEWLINE);
oc2gbts_temp_get(OC2GBTS_TEMP_SUPPLY, &temp);
- vty_out(vty, " Main Supply : %4.2f Celcius%s",
+ vty_out(vty, " Main Supply : %4.2f Celsius%s",
temp/ 1000.0f,
VTY_NEWLINE);
oc2gbts_temp_get(OC2GBTS_TEMP_SOC, &temp);
- vty_out(vty, " SoC : %4.2f Celcius%s",
+ vty_out(vty, " SoC : %4.2f Celsius%s",
temp / 1000.0f,
VTY_NEWLINE);
oc2gbts_temp_get(OC2GBTS_TEMP_FPGA, &temp);
- vty_out(vty, " FPGA : %4.2f Celcius%s",
+ vty_out(vty, " FPGA : %4.2f Celsius%s",
temp / 1000.0f,
VTY_NEWLINE);
if (oc2gbts_option_get(OC2GBTS_OPTION_RMS_FWD) ||
oc2gbts_option_get(OC2GBTS_OPTION_RMS_REFL)) {
oc2gbts_temp_get(OC2GBTS_TEMP_RMSDET, &temp);
- vty_out(vty, " RMSDet : %4.2f Celcius%s",
+ vty_out(vty, " RMSDet : %4.2f Celsius%s",
temp / 1000.0f,
VTY_NEWLINE);
}
oc2gbts_temp_get(OC2GBTS_TEMP_OCXO, &temp);
- vty_out(vty, " OCXO : %4.2f Celcius%s",
+ vty_out(vty, " OCXO : %4.2f Celsius%s",
temp / 1000.0f,
VTY_NEWLINE);
oc2gbts_temp_get(OC2GBTS_TEMP_TX, &temp);
- vty_out(vty, " TX : %4.2f Celcius%s",
+ vty_out(vty, " TX : %4.2f Celsius%s",
temp / 1000.0f,
VTY_NEWLINE);
if (oc2gbts_option_get(OC2GBTS_OPTION_PA_TEMP)) {
oc2gbts_temp_get(OC2GBTS_TEMP_PA, &temp);
- vty_out(vty, " Power Amp : %4.2f Celcius%s",
+ vty_out(vty, " Power Amp : %4.2f Celsius%s",
temp / 1000.0f,
VTY_NEWLINE);
}
diff --git a/src/osmo-bts-oc2g/misc/oc2gbts_misc.c b/src/osmo-bts-oc2g/misc/oc2gbts_misc.c
index bacf07bd..0d31f0b1 100644
--- a/src/osmo-bts-oc2g/misc/oc2gbts_misc.c
+++ b/src/osmo-bts-oc2g/misc/oc2gbts_misc.c
@@ -361,7 +361,7 @@ int oc2gbts_firmware_reload(enum oc2gbts_firmware_type type)
case OC2GBTS_FW_DSP:
fd = open(fw_sysfs[type], O_WRONLY);
if (fd < 0) {
- LOGP(DFW, LOGL_ERROR, "unable ot open firmware device %s: %s\n",
+ LOGP(DFW, LOGL_ERROR, "unable to open firmware device %s: %s\n",
fw_sysfs[type], strerror(errno));
close(fd);
return fd;
diff --git a/src/osmo-bts-oc2g/oml.c b/src/osmo-bts-oc2g/oml.c
index 32024090..567dd526 100644
--- a/src/osmo-bts-oc2g/oml.c
+++ b/src/osmo-bts-oc2g/oml.c
@@ -1869,7 +1869,7 @@ int bts_model_apply_oml(struct gsm_bts *bts, struct msgb *msg,
}
- /* FIXME: we actaully need to send a ACK or NACK for the OML message */
+ /* FIXME: we actually need to send a ACK or NACK for the OML message */
return oml_fom_ack_nack(msg, 0);
}