Hi Luiz, On Thu, Dec 16, 2010, Luiz Augusto von Dentz wrote: > From: Luiz Augusto von Dentz <luiz.dentz-von@xxxxxxxxx> > > Current code only prevent duplicate D-Bus signals, so in case headset > changes the volume a client may set the same volume level again which > would be send as new volume level. > > To fix this headset_set_gain now return -EALREADY if nothing has changed > so code using it can just ignore the change instead of sending to remote > device. > --- > audio/headset.c | 12 ++++++++---- > 1 files changed, 8 insertions(+), 4 deletions(-) This one has also been pushed upstream. Thanks. 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