diff options
Diffstat (limited to 'src/common/pcu_sock.c')
-rw-r--r-- | src/common/pcu_sock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c index ff788bf5..7f7f7cf1 100644 --- a/src/common/pcu_sock.c +++ b/src/common/pcu_sock.c @@ -241,7 +241,6 @@ int pcu_tx_info_ind(void) struct gsm_pcu_if_info_ind *info_ind; struct gsm_bts *bts; struct gprs_rlc_cfg *rlcc; - struct gsm_bts_gprs_nsvc *nsvc; struct gsm_bts_trx *trx; int i; @@ -328,7 +327,7 @@ int pcu_tx_info_ind(void) /* NSVC */ for (i = 0; i < ARRAY_SIZE(bts->gprs.nsvc); i++) { - nsvc = &bts->gprs.nsvc[i]; + const struct gsm_bts_gprs_nsvc *nsvc = &bts->gprs.nsvc[i]; info_ind->nsvci[i] = nsvc->nsvci; info_ind->local_port[i] = nsvc->local.u.sin.sin_port; info_ind->remote_port[i] = nsvc->remote.u.sin.sin_port; |