Hi Daniel, On Tue, Aug 17, 2010, Daniel Örstadius wrote: > Corrected in the attached patch. > > /Daniel > From 263f53fe9cddd9fe9c8c8d4e8265cfbbe3f8c37e Mon Sep 17 00:00:00 2001 > From: Daniel Orstadius <daniel.orstadius@xxxxxxxxx> > Date: Tue, 17 Aug 2010 15:48:45 +0300 > Subject: [PATCH] Maemo6 MCE: listen to adapter powered state > > Registers a callback to btd_adapter to get notified when the > powered state of the adapter is changed. This is needed to update > the state stored in the MCE if the adapter is powered on or off > using for example SetProperty(Powered). The current setting of > the MCE is saved in a variable and if the notification to the > plugin does not match this value the MCE is updated accordingly > using its DBus method for setting radio states. > --- > plugins/maemo6.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- > 1 files changed, 48 insertions(+), 2 deletions(-) Thanks. This patch is now also upstream. 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