Hi Lucas, On Fri, Oct 21, 2011 at 8:58 PM, Lucas De Marchi <lucas.demarchi@xxxxxxxxxxxxxx> wrote: > --- > audio/avrcp.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/audio/avrcp.c b/audio/avrcp.c > index e908bf4..f06afbf 100644 > --- a/audio/avrcp.c > +++ b/audio/avrcp.c > @@ -1119,6 +1119,7 @@ static void state_changed(struct audio_device *dev, avctp_state_t old_state, > switch (new_state) { > case AVCTP_STATE_DISCONNECTED: > player->session = NULL; > + player->registered_events = 0; > > if (player->handler) { > avctp_unregister_pdu_handler(player->handler); > -- > 1.7.7 > Ack. -- Luiz Augusto von Dentz -- 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