fix pcu_if_signal_cb(): do not send INFO.ind if PCU is not connected
Sending INFO.ind unconditionally in pcu_if_signal_cb() provokes a lot of warnings during OML bootstrapping / termination: DPCU INFO pcu_sock.c:247 Sending info DPCU INFO pcu_sock.c:262 BTS is up DPCU INFO pcu_sock.c:205 (bts=0,trx=0) unavailable for PCU (op=Disabled adm=Unlocked) DPCU INFO pcu_sock.c:205 (bts=0,trx=1) unavailable for PCU (op=Disabled adm=Unlocked) Do not call pcu_tx_info_ind() if the PCU is not connected. Change-Id: If8bc8bec5ad808be8d40e91278a4a4fde84920b0
This commit is contained in:
parent
967bca7b9e
commit
ae09c8acb4
|
@ -407,6 +407,10 @@ static int pcu_if_signal_cb(unsigned int subsys, unsigned int signal,
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
/* Do not send INFO.ind if PCU is not connected */
|
||||
if (!pcu_connected())
|
||||
return 0;
|
||||
|
||||
/* If all infos have been received, of if one info is updated after
|
||||
* all infos have been received, transmit info update. */
|
||||
if (avail_lai && avail_nse && avail_cell && avail_nsvc[0])
|
||||
|
|
Loading…
Reference in New Issue