mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] Add case for Enhanced Retransmission and Streaming modes
@ 2009-05-10  5:29 Gustavo F. Padovan
  2009-05-10  5:29 ` [PATCH 2/2] Add .gitignore for bluez-hcidump Gustavo F. Padovan
  2009-05-10  5:53 ` [PATCH 1/2] Add case for Enhanced Retransmission and Streaming modes Marcel Holtmann
  0 siblings, 2 replies; 3+ messages in thread
From: Gustavo F. Padovan @ 2009-05-10  5:29 UTC (permalink / raw)
  To: gustavo; +Cc: linux-kernel

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.0.6


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-10  5:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-10  5:29 [PATCH 1/2] Add case for Enhanced Retransmission and Streaming modes Gustavo F. Padovan
2009-05-10  5:29 ` [PATCH 2/2] Add .gitignore for bluez-hcidump Gustavo F. Padovan
2009-05-10  5:53 ` [PATCH 1/2] Add case for Enhanced Retransmission and Streaming modes Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome