diff --git a/tools/hwsim.c b/tools/hwsim.c index 7ff1cdb3..512f7ffd 100644 --- a/tools/hwsim.c +++ b/tools/hwsim.c @@ -125,6 +125,7 @@ static void destroy_callback(struct l_genl_msg *msg, void *user_data) } l_info("Destroyed radio"); + goto done; } while (l_genl_attr_next(&attr, &type, &len, &data)) {