diff options
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/bsc_init.c | 6 | ||||
-rw-r--r-- | openbsc/src/mgcp/mgcp_network.c | 2 | ||||
-rw-r--r-- | openbsc/src/mgcp/mgcp_vty.c | 4 | ||||
-rw-r--r-- | openbsc/src/paging.c | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/openbsc/src/bsc_init.c b/openbsc/src/bsc_init.c index 7140c367d..a2546808f 100644 --- a/openbsc/src/bsc_init.c +++ b/openbsc/src/bsc_init.c @@ -494,7 +494,7 @@ int nm_state_event(enum nm_evt evt, u_int8_t obj_class, void *obj, bts = nsvc->bts; if (bts->gprs.mode == BTS_GPRS_NONE) break; - /* We skip NSVC1 since we only use NSVC0 */ + /* We skip NSVC1 since we only use NSVC0 */ if (nsvc->id == 1) break; if (new_state->availability == NM_AVSTATE_OFF_LINE) { @@ -1014,9 +1014,9 @@ static int bootstrap_bts(struct gsm_bts *bts) /* Control Channel Description */ bts->si_common.chan_desc.att = 1; bts->si_common.chan_desc.bs_pa_mfrms = RSL_BS_PA_MFRMS_5; - /* T3212 is set from vty/config */ + /* T3212 is set from vty/config */ - /* Set ccch config by looking at ts config */ + /* Set ccch config by looking at ts config */ for (n=0, i=0; i<8; i++) n += bts->c0->ts[i].pchan == GSM_PCHAN_CCCH ? 1 : 0; diff --git a/openbsc/src/mgcp/mgcp_network.c b/openbsc/src/mgcp/mgcp_network.c index a93ac44f2..c9edf4fed 100644 --- a/openbsc/src/mgcp/mgcp_network.c +++ b/openbsc/src/mgcp/mgcp_network.c @@ -153,7 +153,7 @@ static int rtp_data_cb(struct bsc_fd *fd, unsigned int what) */ #warning "Slight spec violation. With connection mode recvonly we should attempt to forward." dest = memcmp(&addr.sin_addr, &endp->remote, sizeof(addr.sin_addr)) == 0 && - (endp->net_rtp == addr.sin_port || endp->net_rtcp == addr.sin_port) + (endp->net_rtp == addr.sin_port || endp->net_rtcp == addr.sin_port) ? DEST_BTS : DEST_NETWORK; proto = fd == &endp->local_rtp ? PROTO_RTP : PROTO_RTCP; diff --git a/openbsc/src/mgcp/mgcp_vty.c b/openbsc/src/mgcp/mgcp_vty.c index b05888284..38d3daf5f 100644 --- a/openbsc/src/mgcp/mgcp_vty.c +++ b/openbsc/src/mgcp/mgcp_vty.c @@ -286,8 +286,8 @@ int mgcp_parse_config(const char *config_file, struct mgcp_config *cfg) /* * This application supports two modes. - * 1.) a true MGCP gateway with support for AUEP, CRCX, MDCX, DLCX - * 2.) plain forwarding of RTP packets on the endpoints. + * 1.) a true MGCP gateway with support for AUEP, CRCX, MDCX, DLCX + * 2.) plain forwarding of RTP packets on the endpoints. * both modes are mutual exclusive */ if (g_cfg->forward_ip) { diff --git a/openbsc/src/paging.c b/openbsc/src/paging.c index d872927d6..a89b13256 100644 --- a/openbsc/src/paging.c +++ b/openbsc/src/paging.c @@ -381,7 +381,7 @@ void paging_request_stop(struct gsm_bts *_bts, struct gsm_subscriber *subscr, break; /* Stop paging */ - if (bts != _bts) + if (bts != _bts) _paging_request_stop(bts, subscr, NULL); } while (1); } |