[PATCH] Print LE link type on hcitool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux