diff options
| author | Ryan Libby <rlibby@FreeBSD.org> | 2024-07-01 15:22:31 +0000 |
|---|---|---|
| committer | Ryan Libby <rlibby@FreeBSD.org> | 2024-07-01 15:22:31 +0000 |
| commit | f8a46de2dd481da2bf69747551db30ea453490d5 (patch) | |
| tree | 5b6cd00f183ad00733fd9486e220a00666efd238 /sys/netgraph | |
| parent | 2abea9df01655633aabbb9bf3204c90722001202 (diff) | |
Diffstat (limited to 'sys/netgraph')
| -rw-r--r-- | sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c b/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c index b8caf0c515fd..b123322b33aa 100644 --- a/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c +++ b/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c @@ -808,8 +808,7 @@ ng_btsocket_hci_raw_init(void *arg __unused) /* Enable all events */ memset(&ng_btsocket_hci_raw_sec_filter->events, 0xff, - sizeof(ng_btsocket_hci_raw_sec_filter->events)/ - sizeof(ng_btsocket_hci_raw_sec_filter->events[0])); + sizeof(ng_btsocket_hci_raw_sec_filter->events)); /* Disable some critical events */ f = ng_btsocket_hci_raw_sec_filter->events; |
