Author: takawata
Date: Sun Apr 12 15:08:41 2015
New Revision: 281468
URL: https://svnweb.freebsd.org/changeset/base/281468

Log:
  Accept LE event on hccontrol socket.

Modified:
  head/usr.sbin/bluetooth/hccontrol/hccontrol.c

Modified: head/usr.sbin/bluetooth/hccontrol/hccontrol.c
==============================================================================
--- head/usr.sbin/bluetooth/hccontrol/hccontrol.c       Sun Apr 12 14:38:18 
2015        (r281467)
+++ head/usr.sbin/bluetooth/hccontrol/hccontrol.c       Sun Apr 12 15:08:41 
2015        (r281468)
@@ -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)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to