diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-11-10 11:58:21 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-11-10 11:58:21 +0100 |
commit | be63f03254c036a8466c434b6391ad1a2c2a18bc (patch) | |
tree | e11bbfe0eafb67962ff36a14178c04df44a36988 | |
parent | 9f22fcfd367adbc88183079e27b1cd790a04a6f0 (diff) |
sysmobts: Call the routine send and receive instead of get
-rw-r--r-- | src/osmo-bts-sysmo/misc/sysmobts_mgr_2050.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_mgr_2050.c b/src/osmo-bts-sysmo/misc/sysmobts_mgr_2050.c index 9c42c24b..b4091e91 100644 --- a/src/osmo-bts-sysmo/misc/sysmobts_mgr_2050.c +++ b/src/osmo-bts-sysmo/misc/sysmobts_mgr_2050.c @@ -110,7 +110,7 @@ static void add_parity(cmdpkt_t *command) command->cmd.raw[command->u8Len] = parity; } -static struct msgb *sbts2050_ucinfo_get(struct uc *ucontrol, const struct ucinfo *info) +static struct msgb *sbts2050_ucinfo_sndrcv(struct uc *ucontrol, const struct ucinfo *info) { int num, rc; cmdpkt_t *command; @@ -214,7 +214,7 @@ int sbts2050_uc_get_status(struct sbts2050_power_status *status) rsppkt_t *response; memset(status, 0, sizeof(*status)); - msg = sbts2050_ucinfo_get(&ucontrol0, &info); + msg = sbts2050_ucinfo_sndrcv(&ucontrol0, &info); if (msg == NULL) { LOGP(DTEMP, LOGL_ERROR, @@ -257,7 +257,7 @@ int sbts2050_uc_set_power(int pmaster, int pslave, int ppa) .pa = ppa }; - msg = sbts2050_ucinfo_get(&ucontrol0, &info); + msg = sbts2050_ucinfo_sndrcv(&ucontrol0, &info); if (msg == NULL) { LOGP(DTEMP, LOGL_ERROR, "Error switching off some unit.\n"); @@ -287,7 +287,7 @@ int sbts2050_uc_check_temp(int *temp_pa, int *temp_board) .id = SBTS2050_TEMP_RQT, }; - msg = sbts2050_ucinfo_get(&ucontrol0, &info); + msg = sbts2050_ucinfo_sndrcv(&ucontrol0, &info); if (msg == NULL) { LOGP(DTEMP, LOGL_ERROR, "Error reading temperature\n"); |