aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bluetooth
diff options
context:
space:
mode:
authorTakanori Watanabe <takawata@FreeBSD.org>2015-04-12 15:08:41 +0000
committerTakanori Watanabe <takawata@FreeBSD.org>2015-04-12 15:08:41 +0000
commitbb9157d5e3571b2b418cf2e670f55d8689eff8df (patch)
tree973dfeb2465369ede6d4afe561ea17c69abc23fc /usr.sbin/bluetooth
parent4bb0556352f582fb72e882dc2f6e4064c2e2742f (diff)
downloadsrc-bb9157d5e3571b2b418cf2e670f55d8689eff8df.tar.gz
src-bb9157d5e3571b2b418cf2e670f55d8689eff8df.zip
Accept LE event on hccontrol socket.
Notes
Notes: svn path=/head/; revision=281468
Diffstat (limited to 'usr.sbin/bluetooth')
-rw-r--r--usr.sbin/bluetooth/hccontrol/hccontrol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bluetooth/hccontrol/hccontrol.c b/usr.sbin/bluetooth/hccontrol/hccontrol.c
index 9c60ae8b3149..a9217737b593 100644
--- a/usr.sbin/bluetooth/hccontrol/hccontrol.c
+++ b/usr.sbin/bluetooth/hccontrol/hccontrol.c
@@ -144,6 +144,7 @@ socket_open(char const *node)
bit_set(filter.event_mask, NG_HCI_EVENT_READ_CLOCK_OFFSET_COMPL - 1);
bit_set(filter.event_mask, NG_HCI_EVENT_CON_PKT_TYPE_CHANGED - 1);
bit_set(filter.event_mask, NG_HCI_EVENT_ROLE_CHANGE - 1);
+ bit_set(filter.event_mask, NG_HCI_EVENT_LE -1);
if (setsockopt(s, SOL_HCI_RAW, SO_HCI_RAW_FILTER,
(void * const) &filter, sizeof(filter)) < 0)