From 178637f5e6b5e10ec1bf33bc34c825994846f78e Mon Sep 17 00:00:00 2001 From: Thomas Schoebel-Theuer Date: Tue, 28 Jan 2014 10:07:58 +0100 Subject: [PATCH] light: force shutdown of fetch upon {disonnect,detach} --- kernel/sy_old/mars_light.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/sy_old/mars_light.c b/kernel/sy_old/mars_light.c index f953c623..328540bb 100644 --- a/kernel/sy_old/mars_light.c +++ b/kernel/sy_old/mars_light.c @@ -3159,6 +3159,8 @@ done: if (copy_brick && (copy_brick->power.led_off || !global->global_power.button || + !_check_allow(global, parent, "connect") || + !_check_allow(global, parent, "attach") || (copy_brick->copy_last == copy_brick->copy_end && (rot->copy_next_is_available > 0 || rot->copy_round++ > 3)))) {