diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-06-30 15:12:13 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-07-04 13:36:52 +0000 |
commit | 523ae04e5efdf6310181963a8bb1f80dee9fac28 (patch) | |
tree | 1dce709413edf6736c83ca75dd45415a7ff7b87b /src | |
parent | 171d80a8d6f3203d2d5ac0c19dd39b0030489907 (diff) |
Fix annoying trailing whitespace
This whitespace keeps being automatically fixed by editor, polluting my
patches.
Change-Id: If0ba1321ed326c1498e3f60b611bd962f2a9484a
Diffstat (limited to 'src')
-rw-r--r-- | src/common/pcu_sock.c | 6 | ||||
-rw-r--r-- | src/osmo-bts-litecell15/l1_if.c | 21 | ||||
-rw-r--r-- | src/osmo-bts-litecell15/oml.c | 2 | ||||
-rw-r--r-- | src/osmo-bts-litecell15/tch.c | 2 | ||||
-rw-r--r-- | src/osmo-bts-octphy/l1_if.c | 2 |
5 files changed, 16 insertions, 17 deletions
diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c index 1ae6cb6e..27550480 100644 --- a/src/common/pcu_sock.c +++ b/src/common/pcu_sock.c @@ -74,8 +74,8 @@ struct msgb *pcu_msgb_alloc(uint8_t msg_type, uint8_t bts_nr) return NULL; msgb_put(msg, sizeof(struct gsm_pcu_if)); pcu_prim = (struct gsm_pcu_if *) msg->data; - pcu_prim->msg_type = msg_type; - pcu_prim->bts_nr = bts_nr; + pcu_prim->msg_type = msg_type; + pcu_prim->bts_nr = bts_nr; return msg; } @@ -566,7 +566,7 @@ static int pcu_rx_act_req(struct gsm_bts *bts, struct gsm_bts_trx *trx; struct gsm_lchan *lchan; - LOGP(DPCU, LOGL_INFO, "%s request received: TRX=%d TX=%d\n", + LOGP(DPCU, LOGL_INFO, "%s request received: TRX=%d TX=%d\n", (act_req->activate) ? "Activate" : "Deactivate", act_req->trx_nr, act_req->ts_nr); diff --git a/src/osmo-bts-litecell15/l1_if.c b/src/osmo-bts-litecell15/l1_if.c index d6cffc90..bd9e0030 100644 --- a/src/osmo-bts-litecell15/l1_if.c +++ b/src/osmo-bts-litecell15/l1_if.c @@ -2,7 +2,7 @@ /* Copyright (C) 2015 by Yves Godin <support@nuranwireless.com> * Copyright (C) 2016 by Harald Welte <laforge@gnumonks.org> - * + * * Based on sysmoBTS: * (C) 2011-2014 by Harald Welte <laforge@gnumonks.org> * (C) 2014 by Holger Hans Peter Freyther @@ -1482,21 +1482,21 @@ static int get_hwinfo(struct lc15l1_hdl *fl1h) fl1h->hw_info.ver_minor = rc; rc = lc15bts_option_get(LC15BTS_OPTION_BAND); - if (rc < 0) + if (rc < 0) return rc; switch (rc) { - case LC15BTS_BAND_850: - fl1h->hw_info.band_support = GSM_BAND_850; + case LC15BTS_BAND_850: + fl1h->hw_info.band_support = GSM_BAND_850; break; - case LC15BTS_BAND_900: - fl1h->hw_info.band_support = GSM_BAND_900; + case LC15BTS_BAND_900: + fl1h->hw_info.band_support = GSM_BAND_900; break; - case LC15BTS_BAND_1800: - fl1h->hw_info.band_support = GSM_BAND_1800; + case LC15BTS_BAND_1800: + fl1h->hw_info.band_support = GSM_BAND_1800; break; - case LC15BTS_BAND_1900: - fl1h->hw_info.band_support = GSM_BAND_1900; + case LC15BTS_BAND_1900: + fl1h->hw_info.band_support = GSM_BAND_1900; break; default: return -1; @@ -1576,4 +1576,3 @@ int bts_model_phy_link_open(struct phy_link *plink) return 0; } - diff --git a/src/osmo-bts-litecell15/oml.c b/src/osmo-bts-litecell15/oml.c index 5c53feb1..d9f613db 100644 --- a/src/osmo-bts-litecell15/oml.c +++ b/src/osmo-bts-litecell15/oml.c @@ -1,5 +1,5 @@ /* Copyright (C) 2015 by Yves Godin <support@nuranwireless.com> - * + * * Based on sysmoBTS: * (C) 2011 by Harald Welte <laforge@gnumonks.org> * (C) 2013-2014 by Holger Hans Peter Freyther diff --git a/src/osmo-bts-litecell15/tch.c b/src/osmo-bts-litecell15/tch.c index c82d6f82..a29733f1 100644 --- a/src/osmo-bts-litecell15/tch.c +++ b/src/osmo-bts-litecell15/tch.c @@ -1,7 +1,7 @@ /* Traffic channel support for NuRAN Wireless Litecell 1.5 BTS L1 */ /* Copyright (C) 2015 by Yves Godin <support@nuranwireless.com> - * + * * Based on sysmoBTS: * (C) 2011-2012 by Harald Welte <laforge@gnumonks.org> * diff --git a/src/osmo-bts-octphy/l1_if.c b/src/osmo-bts-octphy/l1_if.c index 8b316301..427acdff 100644 --- a/src/osmo-bts-octphy/l1_if.c +++ b/src/osmo-bts-octphy/l1_if.c @@ -1103,7 +1103,7 @@ static int handle_ph_data_ind(struct octphy_hdl *fl1, l1sap->u.data.ber10k = b_total ? BER_10K * b_error / b_total : 0; /* FIXME::burst timing in 1x but PCU is expecting 4X */ - l1sap->u.data.ta_offs_qbits = (data_ind->MeasurementInfo.sBurstTiming * 4); + l1sap->u.data.ta_offs_qbits = (data_ind->MeasurementInfo.sBurstTiming * 4); snr = data_ind->MeasurementInfo.sSNRDb; /* FIXME: better converion formulae for SnR -> C / I? l1sap->u.data.lqual_cb = (snr ? snr : (snr - 65536)) * 10 / 256; |