Make LE_LINK define private to hcitool.c for now
The value 0x03 isn't something that exists in the core spec, so it
shouldn't be used in the same API as SCO/ACL link types. Since there are
some experimental kernel patches that use it this patch makes it private
to hcitool.c.
diff --git a/lib/hci.h b/lib/hci.h
index b51280b..0cb120f 100644
--- a/lib/hci.h
+++ b/lib/hci.h
@@ -205,7 +205,6 @@
#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 570df10..dace674 100644
--- a/tools/hcitool.c
+++ b/tools/hcitool.c
@@ -46,6 +46,9 @@
#include "textfile.h"
#include "oui.h"
+/* Unofficial value, might still change */
+#define LE_LINK 0x03
+
#define for_each_opt(opt, long, short) while ((opt=getopt_long(argc, argv, short ? short:"+", long, NULL)) != -1)
static void usage(void);