* [PATCH] Print LE link type on hcitool
@ 2010-11-10 18:54 Sheldon Demario
2010-11-11 10:08 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: Sheldon Demario @ 2010-11-10 18:54 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Sheldon Demario
---
lib/hci.h | 1 +
tools/hcitool.c | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/hci.h b/lib/hci.h
index 0cb120f..b51280b 100644
--- a/lib/hci.h
+++ b/lib/hci.h
@@ -205,6 +205,7 @@ enum {
#define SCO_LINK 0x00
#define ACL_LINK 0x01
#define ESCO_LINK 0x02
+#define LE_LINK 0x03
/* LMP features */
#define LMP_3SLOT 0x01
diff --git a/tools/hcitool.c b/tools/hcitool.c
index 1a53a38..570df10 100644
--- a/tools/hcitool.c
+++ b/tools/hcitool.c
@@ -72,6 +72,8 @@ static char *type2str(uint8_t type)
return "ACL";
case ESCO_LINK:
return "eSCO";
+ case LE_LINK:
+ return "LE";
default:
return "Unknown";
}
--
1.6.2.rc2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-11 10:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-10 18:54 [PATCH] Print LE link type on hcitool Sheldon Demario
2010-11-11 10:08 ` Johan Hedberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox