summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-07-27 01:23:04 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-07-27 01:23:04 +0000
commit57834785d5445439c2abbc19903566f050bc98a2 (patch)
treebf20a8d38b46132017a0a39f8468341afe0989e1
parent39519245f25c517424d1f2ccbed07777c8e060fa (diff)
Add features bit for link supervision timeout
-rw-r--r--include/hci.h1
-rw-r--r--src/hci.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/hci.h b/include/hci.h
index 4cd8c7d9..65480140 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -255,6 +255,7 @@ enum {
#define LMP_EXT_INQ 0x01
+#define LMP_LSTO 0x01
#define LMP_EXT_FEAT 0x80
/* Link policies */
diff --git a/src/hci.c b/src/hci.c
index 6fa61831..48989aae 100644
--- a/src/hci.c
+++ b/src/hci.c
@@ -605,7 +605,7 @@ static hci_map lmp_features_map[8][9] = {
{ NULL }
},
{ /* Byte 7 */
- { "<no. 56>", 0x01 }, /* Bit 1 */
+ { "<LSTO>", LMP_LSTO }, /* Bit 1 */
{ "<no. 57>", 0x02 }, /* Bit 1 */
{ "<no. 58>", 0x04 }, /* Bit 2 */
{ "<no. 59>", 0x08 }, /* Bit 3 */