diff options
author | takawata <takawata@FreeBSD.org> | 2015-04-12 15:08:41 +0000 |
---|---|---|
committer | takawata <takawata@FreeBSD.org> | 2015-04-12 15:08:41 +0000 |
commit | 7a032b3c8107453f7a1ed3e1520c6e142abc8dcd (patch) | |
tree | 973dfeb2465369ede6d4afe561ea17c69abc23fc /usr.sbin/bluetooth/hccontrol | |
parent | 646368c71798d2e464f106baa704c78dc6806d24 (diff) | |
download | FreeBSD-src-7a032b3c8107453f7a1ed3e1520c6e142abc8dcd.zip FreeBSD-src-7a032b3c8107453f7a1ed3e1520c6e142abc8dcd.tar.gz |
Accept LE event on hccontrol socket.
Diffstat (limited to 'usr.sbin/bluetooth/hccontrol')
-rw-r--r-- | usr.sbin/bluetooth/hccontrol/hccontrol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bluetooth/hccontrol/hccontrol.c b/usr.sbin/bluetooth/hccontrol/hccontrol.c index 9c60ae8..a921773 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) |