On Wed, Oct 20, 2010, Daniel Örstadius wrote: > From: Daniel Orstadius <daniel.orstadius@xxxxxxxxx> > Date: Wed, 20 Oct 2010 17:13:17 +0300 > Subject: [PATCH] Fix Maemo6 MCE: set state variable directly > > If the state variable is not updated until mce_signal_callback and > SetProperty(Powered) is called two times quickly, then the second > call will not generate a request to change the radio state of the > MCE if its corresponding call to adapter_powered occurs before the > first triggering of mce_signal_callback. > > With this patch two calls to the MCE are executed, although there > might still be an unnecessary power cycle in that > mce_signal_callback is also triggered twice. > --- > plugins/maemo6.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) This patch has been pushed upstream after an offline discussion which concluded that it should be safe to ignore the method reply from MCE in this case. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html