aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/common/pcu_sock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c
index 550dd37d..6586af8b 100644
--- a/src/common/pcu_sock.c
+++ b/src/common/pcu_sock.c
@@ -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])