summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-02-07 07:48:11 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-02-07 07:48:11 +0000
commit1ba3b0978c73153513cfe016435e1e930038fbd4 (patch)
tree15766dab4bf3d8b7332a3511a3978ba6d7d0fdc0
parent1ea821775112f99d57680e9d96930ea100131b24 (diff)
Add features bit for pause encryption
-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 0547f568..312fa27d 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -244,6 +244,7 @@ enum {
#define LMP_EDR_5SLOT 0x01
#define LMP_SNIFF_SUBR 0x02
+#define LMP_PAUSE_ENC 0x04
#define LMP_AFH_CAP_MST 0x08
#define LMP_AFH_CLS_MST 0x10
#define LMP_EDR_ESCO_2M 0x20
diff --git a/src/hci.c b/src/hci.c
index 6a33d3c4..9e81653c 100644
--- a/src/hci.c
+++ b/src/hci.c
@@ -583,7 +583,7 @@ static hci_map lmp_features_map[8][9] = {
{ /* Byte 5 */
{ "<5-slot EDR ACL>", LMP_EDR_5SLOT }, /* Bit 0 */
{ "<sniff subrating>", LMP_SNIFF_SUBR }, /* Bit 1 */
- { "<no. 42>", 0x04 }, /* Bit 2 */
+ { "<pause encryption>", LMP_PAUSE_ENC }, /* Bit 2 */
{ "<AFH cap. master>", LMP_AFH_CAP_MST }, /* Bit 3 */
{ "<AFH class. master>",LMP_AFH_CLS_MST }, /* Bit 4 */
{ "<EDR eSCO 2 Mbps>", LMP_EDR_ESCO_2M }, /* Bit 5 */