Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175950716
D45707.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
584 B
Referenced Files
None
Subscribers
None
D45707.diff
View Options
diff --git a/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c b/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
--- a/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
+++ b/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
@@ -808,8 +808,7 @@
/* 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;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 15, 5:53 PM (2 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40858247
Default Alt Text
D45707.diff (584 B)
Attached To
Mode
D45707: bluetooth socket sysinit: correct memset initialization
Attached
Detach File
Event Timeline
Log In to Comment