cosmetic: layer23: Fix trailing whitespace
Change-Id: Ibc464923ac8add74b2b6d57d183fb307be650679
This commit is contained in:
parent
463b3634ed
commit
cf2d8296bb
|
@ -149,7 +149,7 @@ struct gsm48_rrlayer {
|
|||
/* channel request states */
|
||||
uint8_t wait_assign; /* waiting for assignment state */
|
||||
uint8_t n_chan_req; /* number left, incl. current */
|
||||
uint8_t chan_req_val; /* current request value */
|
||||
uint8_t chan_req_val; /* current request value */
|
||||
uint8_t chan_req_mask; /* mask of random bits */
|
||||
|
||||
/* state of dedicated mdoe */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* GSM Mobile Radio Interface Layer 3 messages on the A-bis interface
|
||||
/* GSM Mobile Radio Interface Layer 3 messages on the A-bis interface
|
||||
* 3GPP TS 04.08 version 7.21.0 Release 1998 / ETSI TS 100 940 V7.21.0 */
|
||||
|
||||
/* (C) 2008-2009 by Harald Welte <laforge@gnumonks.org>
|
||||
|
|
|
@ -239,7 +239,7 @@ int gsm_sim_job_dequeue(struct osmocom_ms *ms)
|
|||
sim_process_job(ms);
|
||||
return 1; /* work done */
|
||||
}
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -287,7 +287,7 @@ static void start_rach(void)
|
|||
ncch->data[2] = (s->ccch_conf == 1) << 7;
|
||||
ncch->data[3] = 0;
|
||||
ncch->data[4] = RSL_IE_ACCESS_DELAY;
|
||||
ncch->data[5] = 0; /* no delay */
|
||||
ncch->data[5] = 0; /* no delay */
|
||||
ncch->data[6] = RSL_IE_MS_POWER;
|
||||
ncch->data[7] = 0; /* full power */
|
||||
|
||||
|
@ -665,7 +665,7 @@ static int unit_data_ind(struct osmocom_ms *ms, struct msgb *msg)
|
|||
struct abis_rsl_rll_hdr *rllh = msgb_l2(msg);
|
||||
struct tlv_parsed tv;
|
||||
uint8_t ch_type, ch_subch, ch_ts;
|
||||
|
||||
|
||||
DEBUGP(DRSL, "RSLms UNIT DATA IND chan_nr=0x%02x link_id=0x%02x\n",
|
||||
rllh->chan_nr, rllh->link_id);
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ static int rslms_rx_udata_ind(struct msgb *msg, struct osmocom_ms *ms)
|
|||
struct abis_rsl_rll_hdr *rllh = msgb_l2(msg);
|
||||
struct tlv_parsed tv;
|
||||
int rc = 0;
|
||||
|
||||
|
||||
DEBUGP(DRSL, "RSLms UNIT DATA IND chan_nr=0x%02x link_id=0x%02x\n",
|
||||
rllh->chan_nr, rllh->link_id);
|
||||
|
||||
|
|
|
@ -360,7 +360,7 @@ static const char *ss_code_by_char(const char *code, uint8_t *ss_code)
|
|||
static const char *decode_ss_code(uint8_t ss_code)
|
||||
{
|
||||
static char unknown[16];
|
||||
|
||||
|
||||
switch (ss_code) {
|
||||
case 33:
|
||||
return "CFU";
|
||||
|
@ -642,7 +642,7 @@ int ss_send(struct osmocom_ms *ms, const char *code, int new_trans)
|
|||
code++;
|
||||
|
||||
to = ss_code_by_char(code + 1, &ss_code);
|
||||
|
||||
|
||||
/* register */
|
||||
if (ss_code && to && to[0] == '*') {
|
||||
OSMO_STRLCPY_ARRAY(dest, to + 1);
|
||||
|
@ -660,7 +660,7 @@ int ss_send(struct osmocom_ms *ms, const char *code, int new_trans)
|
|||
uint8_t ss_code = 0;
|
||||
|
||||
ss_code_by_char(code + 2, &ss_code);
|
||||
|
||||
|
||||
if (ss_code)
|
||||
return gsm480_tx_cf(trans, GSM0480_MTYPE_REGISTER,
|
||||
GSM0480_OP_CODE_ERASE_SS, ss_code, NULL);
|
||||
|
@ -670,7 +670,7 @@ int ss_send(struct osmocom_ms *ms, const char *code, int new_trans)
|
|||
uint8_t ss_code = 0;
|
||||
|
||||
ss_code_by_char(code + 1, &ss_code);
|
||||
|
||||
|
||||
if (ss_code)
|
||||
return gsm480_tx_cf(trans, GSM0480_MTYPE_REGISTER,
|
||||
GSM0480_OP_CODE_DEACTIVATE_SS, ss_code, NULL);
|
||||
|
@ -708,7 +708,7 @@ static int parse_tag_asn1(const uint8_t *data, int len,
|
|||
/* check for buffer overflow */
|
||||
if (len < *tag_len)
|
||||
return -1;
|
||||
|
||||
|
||||
/* return length */
|
||||
return len;
|
||||
}
|
||||
|
@ -834,7 +834,7 @@ static int gsm480_rx_cf(struct gsm_trans *trans, const uint8_t *data,
|
|||
vty_notify(ms, "Call Forwarding reply unsupported.\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
while (len) {
|
||||
/* sequence tag */
|
||||
if (parse_tag_asn1(data, len, &tag_data, &tag_len) < 0) {
|
||||
|
|
Loading…
Reference in New Issue