Accept LE event on hccontrol socket.
This commit is contained in:
parent
4bb0556352
commit
bb9157d5e3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=281468
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user