Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2020 09:14:59 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r361185 - stable/11/usr.sbin/bluetooth/hccontrol
Message-ID:  <202005180914.04I9Exas057956@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Mon May 18 09:14:58 2020
New Revision: 361185
URL: https://svnweb.freebsd.org/changeset/base/361185

Log:
  MFC r360263:
  Rename two commands to match the Bluetooth specification in hccontrol(8).
  Fix some bad spelling while at it.
  
  Submitted by:	Marc Veldman <marc@bumblingdork.com>
  PR:		245868
  Sponsored by:	Mellanox Technologies

Modified:
  stable/11/usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
==============================================================================
--- stable/11/usr.sbin/bluetooth/hccontrol/host_controller_baseband.c	Mon May 18 09:14:24 2020	(r361184)
+++ stable/11/usr.sbin/bluetooth/hccontrol/host_controller_baseband.c	Mon May 18 09:14:58 2020	(r361185)
@@ -1491,7 +1491,7 @@ hci_write_page_scan_mode(int s, int argc, char **argv)
 } /* hci_write_page_scan_mode */
 
 static int
-hci_read_le_host_supported_command(int s, int argc, char **argv) 
+hci_read_le_host_support(int s, int argc, char **argv) 
 {
 	ng_hci_read_le_host_supported_rp rp;
 	int n;
@@ -1508,13 +1508,13 @@ hci_read_le_host_supported_command(int s, int argc, ch
 	}
 
 	fprintf(stdout, "LE Host support: %#02x\n", rp.le_supported_host);
-	fprintf(stdout, "Simulateneouse LE Host : %#02x\n", rp.simultaneous_le_host);
+	fprintf(stdout, "Simultaneous LE Host : %#02x\n", rp.simultaneous_le_host);
 
 	return (OK);
 	
 }
 static int
-hci_write_le_host_supported_command(int s, int argc, char **argv) 
+hci_write_le_host_support(int s, int argc, char **argv) 
 {
 	ng_hci_write_le_host_supported_cp cp;
 	ng_hci_write_le_host_supported_rp rp;
@@ -1948,14 +1948,14 @@ struct hci_command	host_controller_baseband_commands[]
 &hci_write_page_scan_mode
 },
 {
-"read_le_host_supported_command",	\
-"Read if this host is in le supported mode and stimulatenouse le supported mode",
-&hci_read_le_host_supported_command,
+"read_le_host_support",	\
+"Read if this host is in LE supported mode and simultaneous LE supported mode",
+&hci_read_le_host_support,
 },  
 {
-"write_le_host_supported_command",	\
-"write_le_host_supported_command le_host[0|1] stimultajeous_le[0|1]",
-&hci_write_le_host_supported_command,
+"write_le_host_support",	\
+"write_le_host_support le_host[0|1] simultaneous_le[0|1]",
+&hci_write_le_host_support,
 },  
 
 { NULL, }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005180914.04I9Exas057956>