Hi Lucas, On Tue, Feb 28, 2012, Lucas De Marchi wrote: > --- > audio/avctp.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/audio/avctp.c b/audio/avctp.c > index 5bd5db1..1d425eb 100644 > --- a/audio/avctp.c > +++ b/audio/avctp.c > @@ -235,9 +235,12 @@ static size_t handle_panel_passthrough(struct avctp *session, > break; > } > > - if (key_map[i].name == NULL) > + if (key_map[i].name == NULL) { > DBG("AV/C: unknown button 0x%02X %s", > operands[0] & 0x7F, status); > + *code = AVC_CTYPE_NOT_IMPLEMENTED; > + return 0; > + } > > done: > *code = AVC_CTYPE_ACCEPTED; Applied. 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