pcu_sock: pcu_tx_si_all(): fix returning ununitialized rc
Change-Id: Ic78614bebade701db14439aa64ecf89c7104a639 Fixes: CID#216932
This commit is contained in:
parent
df80385f26
commit
f7c7d2baf6
|
@ -777,7 +777,7 @@ static int pcu_tx_si_all(struct gsm_bts *bts)
|
|||
if (GSM_BTS_HAS_SI(bts, si_types[i])) {
|
||||
rc = pcu_tx_si(bts, si_types[i], true);
|
||||
if (rc < 0)
|
||||
rc = -EINVAL;
|
||||
return rc;
|
||||
} else {
|
||||
LOGP(DPCU, LOGL_INFO,
|
||||
"SI%s is not available on PCU connection\n",
|
||||
|
@ -785,7 +785,7 @@ static int pcu_tx_si_all(struct gsm_bts *bts)
|
|||
}
|
||||
}
|
||||
|
||||
return rc;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int pcu_rx_txt_ind(struct gsm_bts *bts,
|
||||
|
|
Loading…
Reference in New Issue