diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-09-05 18:18:32 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-09-05 20:01:29 +0700 |
commit | 1ac4243a13be9ee2c541275c9648aae1a54ab3c4 (patch) | |
tree | d0e06957262f45028fd4497a3730e9ba6e7fd16b | |
parent | a12c0b16f42eea02f3c4133ba1fd3f77ec1eac1f (diff) |
osmo-bts-trx/trx_provision_fsm: cosmetic: switch is not a function
Change-Id: I56d2777bcc43c96b9fa1672d3ad29bf9817208bb
-rw-r--r-- | src/osmo-bts-trx/trx_provision_fsm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/osmo-bts-trx/trx_provision_fsm.c b/src/osmo-bts-trx/trx_provision_fsm.c index 838433e0..ad829615 100644 --- a/src/osmo-bts-trx/trx_provision_fsm.c +++ b/src/osmo-bts-trx/trx_provision_fsm.c @@ -258,7 +258,7 @@ static void st_closed(struct osmo_fsm_inst *fi, uint32_t event, void *data) { struct trx_l1h *l1h = (struct trx_l1h *)fi->priv; - switch(event) { + switch (event) { case TRX_PROV_EV_OPEN: /* enable all slots */ l1h->config.slotmask = 0xff; @@ -289,7 +289,7 @@ static void st_open_poweroff(struct osmo_fsm_inst *fi, uint32_t event, void *dat int status; bool others_ready; - switch(event) { + switch (event) { case TRX_PROV_EV_CFG_ENABLE: l1h->config.enabled =(bool)data; break; @@ -422,7 +422,7 @@ static void st_open_wait_power_cnf(struct osmo_fsm_inst *fi, uint32_t event, voi struct phy_link *plink = pinst->phy_link; int rc; - switch(event) { + switch (event) { case TRX_PROV_EV_POWERON_CNF: rc = (uint16_t)(intptr_t)data; if (rc == 0 && plink->state != PHY_LINK_CONNECTED) { @@ -484,7 +484,7 @@ static void st_open_poweron(struct osmo_fsm_inst *fi, uint32_t event, void *data struct trx_prov_ev_cfg_ts_data* ts_data; uint8_t tn; - switch(event) { + switch (event) { case TRX_PROV_EV_CLOSE: /* power off transceiver, if not already */ if (l1h->config.enabled) { @@ -525,7 +525,7 @@ static void st_open_wait_poweroff_cnf(struct osmo_fsm_inst *fi, uint32_t event, struct phy_link *plink = pinst->phy_link; int rc; - switch(event) { + switch (event) { case TRX_PROV_EV_POWEROFF_CNF: rc = (uint16_t)(intptr_t)data; if (plink->state != PHY_LINK_SHUTDOWN) { |