Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netbt permit read_encryption_key_size from userland



details:   https://anonhg.NetBSD.org/src/rev/61abf29eb249
branches:  trunk
changeset: 1003736:61abf29eb249
user:      plunky <plunky%NetBSD.org@localhost>
date:      Sat Sep 28 07:10:55 2019 +0000

description:
permit read_encryption_key_size from userland

diffstat:

 sys/netbt/hci_socket.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 3128ef55df9b -r 61abf29eb249 sys/netbt/hci_socket.c
--- a/sys/netbt/hci_socket.c    Sat Sep 28 07:06:50 2019 +0000
+++ b/sys/netbt/hci_socket.c    Sat Sep 28 07:10:55 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hci_socket.c,v 1.46 2019/01/28 12:53:01 martin Exp $   */
+/*     $NetBSD: hci_socket.c,v 1.47 2019/09/28 07:10:55 plunky Exp $   */
 
 /*-
  * Copyright (c) 2005 Iain Hibbert.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hci_socket.c,v 1.46 2019/01/28 12:53:01 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hci_socket.c,v 1.47 2019/09/28 07:10:55 plunky Exp $");
 
 /* load symbolic names */
 #ifdef BLUETOOTH_DEBUG
@@ -195,6 +195,8 @@
          18, 0x01, 0 },
        { HCI_CMD_READ_DEFAULT_ERRDATA_REPORTING,
          18, 0x04, 0 },
+       { HCI_CMD_READ_ENCRYPTION_KEY_SIZE,
+         20, 0x10, sizeof(hci_read_encryption_key_size_cp) },
 };
 
 /*



Home | Main Index | Thread Index | Old Index