diff options
author | Philipp <pmaier@sysmocom.de> | 2016-12-23 11:05:11 +0100 |
---|---|---|
committer | Philipp <pmaier@sysmocom.de> | 2016-12-23 11:19:15 +0100 |
commit | 532480a705726452ace30b1a914640d984dd0418 (patch) | |
tree | 403705ff881920d9f745f30515d403d6770106ab /openbsc/src/gprs | |
parent | db142dc59dc8d79d8ee608c9165bc865d240b97d (diff) |
cosmetic: Rename phone to ms
The term "phone" is incorrect. Rename phone to "MS" (mobile station)
in the comments and log output of gprs_llc.c
Change-Id: I322d3d99452502da7555cc2af6bc8a192ca3c9c5
Diffstat (limited to 'openbsc/src/gprs')
-rw-r--r-- | openbsc/src/gprs/gprs_llc.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/openbsc/src/gprs/gprs_llc.c b/openbsc/src/gprs/gprs_llc.c index c2c3900e6..2be663f98 100644 --- a/openbsc/src/gprs/gprs_llc.c +++ b/openbsc/src/gprs/gprs_llc.c @@ -137,7 +137,7 @@ static int gprs_llc_process_xid_conf(uint8_t *bytes, int bytes_len, struct gprs_llc_lle *lle) { /* Note: This function handles the response of a network originated - * XID-Request. There XID messages reflected by the phone are analyzed + * XID-Request. There XID messages reflected by the MS are analyzed * and processed here. The caller is called by rx_llc_xid(). */ struct llist_head *xid_fields; @@ -205,7 +205,7 @@ static int gprs_llc_process_xid_ind(uint8_t *bytes_request, struct gprs_llc_lle *lle) { /* Note: This function computes the response that is sent back to the - * phone when a phone originated XID is received. The function is + * MS when a mobile originated XID is received. The function is * called by rx_llc_xid() */ int rc = -EINVAL; @@ -232,7 +232,7 @@ static int gprs_llc_process_xid_ind(uint8_t *bytes_request, * for validity. Currently we just blindly * accept all XID fields by just echoing them. * There is a remaining risk of malfunction - * when a phone submits values which defer from + * when a MS submits values which defer from * the default! */ LOGP(DLLC, LOGL_NOTICE, "Echoing XID-Field: XID: type %s, data_len=%d, data=%s\n", @@ -276,7 +276,7 @@ static int gprs_llc_process_xid_ind(uint8_t *bytes_request, return rc; } -/* Dispatch XID indications and responses comming from the Phone */ +/* Dispatch XID indications and responses comming from the MS */ static void rx_llc_xid(struct gprs_llc_lle *lle, struct gprs_llc_hdr_parsed *gph) { @@ -286,7 +286,7 @@ static void rx_llc_xid(struct gprs_llc_lle *lle, /* FIXME: 8.5.3.3: check if XID is invalid */ if (gph->is_cmd) { LOGP(DLLC, LOGL_NOTICE, - "Received XID indication from phone.\n"); + "Received XID indication from MS.\n"); struct msgb *resp; uint8_t *xid; @@ -306,7 +306,7 @@ static void rx_llc_xid(struct gprs_llc_lle *lle, gprs_llc_tx_xid(lle, resp, 0); } else { LOGP(DLLC, LOGL_NOTICE, - "Received XID confirmation from phone.\n"); + "Received XID confirmation from MS.\n"); gprs_llc_process_xid_conf(gph->data, gph->data_len, lle); /* FIXME: if we had sent a XID reset, send * LLGMM-RESET.conf to GMM */ @@ -342,7 +342,7 @@ int gprs_ll_xid_req(struct gprs_llc_lle *lle, else ftype = "NULL"; LOGP(DLLC, LOGL_NOTICE, "Sending XID type %s (%d bytes) request" - " to phone...\n", ftype, xid_bytes_len); + " to MS...\n", ftype, xid_bytes_len); gprs_llc_tx_xid(lle, msg, 1); } else { LOGP(DLLC, LOGL_ERROR, |