From cfde90dc85793924588cf5926ed87b93821ec906 Mon Sep 17 00:00:00 2001 From: Thomas Schlichter Date: Fri, 21 Feb 2025 19:32:10 +0000 Subject: [PATCH] rfsimulator: apply deadlock detection only if more than one client is connected --- radio/rfsimulator/simulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/rfsimulator/simulator.c b/radio/rfsimulator/simulator.c index b11f4034ca..ca01a1768c 100644 --- a/radio/rfsimulator/simulator.c +++ b/radio/rfsimulator/simulator.c @@ -1004,7 +1004,7 @@ static int rfsimulator_read(openair0_device *device, openair0_timestamp *ptimest t->nextRxTstamp + nsamps); flushInput(t, 3, nsamps); } - if (t->hanging_workaround && loops++ > 10 && t->role == SIMU_ROLE_SERVER) { + if (t->hanging_workaround && loops++ > 10 && t->role == SIMU_ROLE_SERVER && nb_ue > 1) { // Just start producing samples. The clients will catch up. have_to_wait = false; LOG_W(HW,