summaryrefslogtreecommitdiff
blob: c7523e6a2ff676a4d482c9f484f4c247e6c737d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From d22d083d6dd681f8d25eb806d4ec91853475ee06 Mon Sep 17 00:00:00 2001
From: Gustavo Padovan <gustavo@padovan.org>
Date: Thu, 5 Apr 2012 16:22:55 -0300
Subject: [PATCH] mgmt: update mgmt control channel id

kernel side has updated its control channel id from 1 to 3.
---
 lib/hci.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/hci.h b/lib/hci.h
index 887a860..f7be92d 100644
--- a/lib/hci.h
+++ b/lib/hci.h
@@ -2288,8 +2288,8 @@ struct sockaddr_hci {
 #define HCI_DEV_NONE	0xffff
 
 #define HCI_CHANNEL_RAW		0
-#define HCI_CHANNEL_CONTROL	1
 #define HCI_CHANNEL_MONITOR	2
+#define HCI_CHANNEL_CONTROL	3
 
 struct hci_filter {
 	uint32_t type_mask;
-- 
1.7.6.5