Return-Path: From: "Gustavo F. Padovan" To: linux-bluetooth@vger.kernel.org Cc: marcel@holtmann.org, gustavo@padovan.org Subject: [PATCH 1/4] Add case for Enhanced Retransmission and Streaming modes Date: Sun, 9 Aug 2009 05:41:06 -0300 Message-Id: <1249807269-21494-2-git-send-email-gustavo@las.ic.unicamp.br> In-Reply-To: <1249807269-21494-1-git-send-email-gustavo@las.ic.unicamp.br> References: <1249807269-21494-1-git-send-email-gustavo@las.ic.unicamp.br> List-ID: Just add return values on mode2str for the new modes on L2CAP --- parser/l2cap.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/parser/l2cap.c b/parser/l2cap.c index a906f42..4ab4123 100644 --- a/parser/l2cap.c +++ b/parser/l2cap.c @@ -306,6 +306,10 @@ static char *mode2str(uint8_t mode) return "Retransmission"; case 0x02: return "Flow control"; + case 0x03: + return "Enhanced Retransmission"; + case 0x04: + return "Streaming"; default: return "Reserved"; } -- 1.6.3.3