aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-30 13:32:05 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-30 13:34:15 +0800
commita581136f73e16592b33f726464518803ea45bd72 (patch)
tree0123f4faef2d85248b826ab3788a30112cf04e0e /openbsc/src
parenta4b446b4596a243363b386ca8f26b63d0fb005dc (diff)
[misc] Remove spaces, fix indention.
Diffstat (limited to 'openbsc/src')
-rw-r--r--openbsc/src/bsc_init.c6
-rw-r--r--openbsc/src/mgcp/mgcp_network.c2
-rw-r--r--openbsc/src/mgcp/mgcp_vty.c4
-rw-r--r--openbsc/src/paging.c2
4 files changed, 7 insertions, 7 deletions
diff --git a/openbsc/src/bsc_init.c b/openbsc/src/bsc_init.c
index 3381ac5f8..9bc02c486 100644
--- a/openbsc/src/bsc_init.c
+++ b/openbsc/src/bsc_init.c
@@ -493,7 +493,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) {
@@ -1013,9 +1013,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 73356f759..cd745a7c4 100644
--- a/openbsc/src/mgcp/mgcp_network.c
+++ b/openbsc/src/mgcp/mgcp_network.c
@@ -151,7 +151,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 bf5d15f0b..5b90d524b 100644
--- a/openbsc/src/mgcp/mgcp_vty.c
+++ b/openbsc/src/mgcp/mgcp_vty.c
@@ -306,8 +306,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 314d3d135..12ed90341 100644
--- a/openbsc/src/paging.c
+++ b/openbsc/src/paging.c
@@ -318,7 +318,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);
}