Hi Daniel, On Fri, Aug 13, 2010, Daniel Örstadius wrote: > From: Daniel Orstadius <daniel.orstadius@xxxxxxxxx> > Date: Fri, 13 Aug 2010 16:38:08 +0300 > Subject: [PATCH] Add powered callback to btd_adapter > > With this patch callback functions can be registered to the > btd_adapter struct. The functions are then called when the powered > state of the adapter changes, with a boolean argument indicating > the new state. The reason for adding the functionality is that the > Maemo6 MCE plugin needs to be notified when the adapter is powered > on or off. > --- > src/adapter.c | 32 ++++++++++++++++++++++++++++++++ > src/adapter.h | 7 +++++++ > 2 files changed, 39 insertions(+), 0 deletions(-) Thanks. This patch is now pushed 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