Hi Peter, On Fri, Oct 21, 2011 at 04:30:00PM -0700, Peter Krystad wrote: ... > @@ -923,6 +1004,240 @@ static inline void move_cfm_rsp(int level, l2cap_cmd_hdr *cmd, struct frame *frm > printf("Move cfm rsp: icid 0x%4.4x\n", icid); > } > > +static inline void amp_command_rej(int level, struct frame *frm) > +{ > + amp_cmd_rej_parms *h = frm->ptr; > + uint16_t reason = btohs(h->reason); > + > + if (p_filter(FILT_A2MP)) > + return; > + > + printf("Command Reject: reason (%d)- ", reason); > + p_indent(level + 1, frm); This doesn't make sense to use p_indent if you print on the same line. Maybe you forgot "\n" ? > + printf("%s\n", ampreason2str(reason)); > +} > + Best regards Andrei Emeltchenko -- 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