View | Details | Raw Unified | Return to bug 1013712
Collapse All | Expand All

(-)a/tools/parser/l2cap.c (-1 / +5 lines)
Lines 771-776 static inline void conf_rsp(int level, l2cap_cmd_hdr *cmd, struct frame *frm) Link Here
771
			scid, btohs(h->flags), result, clen);
771
			scid, btohs(h->flags), result, clen);
772
772
773
	if (clen > 0) {
773
	if (clen > 0) {
774
	        if (clen != (btohs(frm->len) - L2CAP_CONF_RSP_SIZE)) {
775
			fprintf(stderr, "Not match the actual frame length\n");
776
			clen = btohs(frm->len) - L2CAP_CONF_RSP_SIZE;
777
		}
778
774
		if (result) {
779
		if (result) {
775
			p_indent(level + 1, frm);
780
			p_indent(level + 1, frm);
776
			printf("%s\n", confresult2str(result));
781
			printf("%s\n", confresult2str(result));
777
- 

Return to bug 1013712