openbsd-ports/sysutils/hcidump/patches/patch-bluetooth_l2cap_h
jasper fe86351074 import bluez-hcidump 1.42
HCIdump reads raw HCI data coming from and going to a Bluetooth device
and prints to screen commands, events and data in a human-readable form.
Optionally, the dump can be written to a file rather than parsed, and
the dump file can be parsed in a subsequent moment.

from jcs@, with some tweaks by me
requested by uwe@
2008-11-29 09:54:49 +00:00

20 lines
485 B
Plaintext

$OpenBSD: patch-bluetooth_l2cap_h,v 1.1.1.1 2008/11/29 09:54:49 jasper Exp $
--- bluetooth/l2cap.h.orig Tue Aug 12 11:09:49 2008
+++ bluetooth/l2cap.h Tue Aug 12 11:09:49 2008
@@ -30,6 +30,7 @@
extern "C" {
#endif
+#if 0
#include <sys/socket.h>
/* L2CAP defaults */
@@ -67,6 +68,7 @@ struct l2cap_conninfo {
#define L2CAP_LM_TRUSTED 0x0008
#define L2CAP_LM_RELIABLE 0x0010
#define L2CAP_LM_SECURE 0x0020
+#endif
/* L2CAP command codes */
#define L2CAP_COMMAND_REJ 0x01