aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-07-28 17:37:40 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-07-30 21:24:26 +0200
commit904bc8023fcecdfd8ba5abe2b46d8e2fb56e8d3b (patch)
treea17d6950f3d476257fc675377ce33f32c4bff166
parent686a3145f75c4a153f3d4a0c4951d6543ff8e0af (diff)
bssgp: The method creates and the connects.. reflect that in the name
Call things by what they do. This method is creating and then connecting a BSSGP..
-rw-r--r--src/gprs_bssgp_pcu.cpp2
-rw-r--r--src/gprs_bssgp_pcu.h2
-rw-r--r--src/pcu_l1_if.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp
index e994f9f..ae47fb2 100644
--- a/src/gprs_bssgp_pcu.cpp
+++ b/src/gprs_bssgp_pcu.cpp
@@ -592,7 +592,7 @@ static void bvc_timeout(void *_priv)
}
/* create BSSGP/NS layer instances */
-int gprs_bssgp_create(uint16_t local_port, uint32_t sgsn_ip,
+int gprs_bssgp_create_and_connect(uint16_t local_port, uint32_t sgsn_ip,
uint16_t sgsn_port, uint16_t nsei, uint16_t nsvci, uint16_t bvci,
uint16_t mcc, uint16_t mnc, uint16_t lac, uint16_t rac,
uint16_t cell_id)
diff --git a/src/gprs_bssgp_pcu.h b/src/gprs_bssgp_pcu.h
index dff86a3..b611a19 100644
--- a/src/gprs_bssgp_pcu.h
+++ b/src/gprs_bssgp_pcu.h
@@ -49,7 +49,7 @@ int gprs_bssgp_pcu_rx_sign(struct msgb *msg, struct tlv_parsed *tp, struct bssgp
int gprs_bssgp_pcu_rcvmsg(struct msgb *msg);
-int gprs_bssgp_create(uint16_t local_port, uint32_t sgsn_ip, uint16_t
+int gprs_bssgp_create_and_connect(uint16_t local_port, uint32_t sgsn_ip, uint16_t
sgsn_port, uint16_t nsei, uint16_t nsvci, uint16_t bvci,
uint16_t mcc, uint16_t mnc, uint16_t lac, uint16_t rac,
uint16_t cell_id);
diff --git a/src/pcu_l1_if.cpp b/src/pcu_l1_if.cpp
index 4452f0f..b7b0269 100644
--- a/src/pcu_l1_if.cpp
+++ b/src/pcu_l1_if.cpp
@@ -418,7 +418,7 @@ bssgp_failed:
ia.s_addr = htonl(info_ind->remote_ip[0]);
LOGP(DL1IF, LOGL_DEBUG, " remote_ip=%s\n", inet_ntoa(ia));
- rc = gprs_bssgp_create(info_ind->local_port[0],
+ rc = gprs_bssgp_create_and_connect(info_ind->local_port[0],
info_ind->remote_ip[0], info_ind->remote_port[0],
info_ind->nsei, info_ind->nsvci[0], info_ind->bvci,
info_ind->mcc, info_ind->mnc, info_ind->lac, info_ind->rac,