bts: Fix typo in field name
Change-Id: I5426ff4ccbc45464888e2246cceb8e861d1e477e
This commit is contained in:
parent
c9880b97cf
commit
d65bd9d7b2
|
@ -1332,7 +1332,7 @@ uint8_t bts_get_ms_pwr_alpha(const struct gprs_rlcmac_bts *bts)
|
|||
if (bts->pcu->vty.force_alpha != (uint8_t)-1)
|
||||
return bts->pcu->vty.force_alpha;
|
||||
if (bts->si13_is_set)
|
||||
return bts->si31_ro_decoded.pwr_ctrl_pars.alpha;
|
||||
return bts->si13_ro_decoded.pwr_ctrl_pars.alpha;
|
||||
/* default if no SI13 is received yet: closed loop control, TS 44.060
|
||||
* B.2 Closed loop control */
|
||||
return 0;
|
||||
|
|
|
@ -234,7 +234,7 @@ struct gprs_rlcmac_bts {
|
|||
uint8_t si3[GSM_MACBLOCK_LEN];
|
||||
bool si3_is_set;
|
||||
uint8_t si13[GSM_MACBLOCK_LEN];
|
||||
struct osmo_gsm48_si13_info si31_ro_decoded;
|
||||
struct osmo_gsm48_si13_info si13_ro_decoded;
|
||||
bool si13_is_set;
|
||||
|
||||
/* State for dynamic algorithm selection */
|
||||
|
|
|
@ -336,7 +336,7 @@ static int pcu_rx_data_ind_bcch(struct gprs_rlcmac_bts *bts, uint8_t *data, uint
|
|||
memcpy(bts->si13, data, GSM_MACBLOCK_LEN);
|
||||
bts->si13_is_set = true;
|
||||
si_ro = ((struct gsm48_system_information_type_13*)data)->rest_octets;
|
||||
if (osmo_gsm48_rest_octets_si13_decode(&bts->si31_ro_decoded, si_ro) < 0)
|
||||
if (osmo_gsm48_rest_octets_si13_decode(&bts->si13_ro_decoded, si_ro) < 0)
|
||||
LOGP(DPCU, LOGL_ERROR, "Error decoding SI13\n");
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue