Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Sep 2015 13:24:40 +0000 (UTC)
From:      Takanori Watanabe <takawata@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287597 - head/usr.sbin/bluetooth/hccontrol
Message-ID:  <201509091324.t89DOej2001082@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: takawata
Date: Wed Sep  9 13:24:39 2015
New Revision: 287597
URL: https://svnweb.freebsd.org/changeset/base/287597

Log:
  fix compare argument for address type.
  
  Submitted by: issei10193 (via Twitter)

Modified:
  head/usr.sbin/bluetooth/hccontrol/le.c

Modified: head/usr.sbin/bluetooth/hccontrol/le.c
==============================================================================
--- head/usr.sbin/bluetooth/hccontrol/le.c	Wed Sep  9 11:51:14 2015	(r287596)
+++ head/usr.sbin/bluetooth/hccontrol/le.c	Wed Sep  9 13:24:39 2015	(r287597)
@@ -88,7 +88,7 @@ le_set_scan_param(int s, int argc, char 
 	
 	if (strcmp(argv[3], "public") == 0)
 		adrtype = 0;
-	else if (strcmp(argv[0], "random") == 0)
+	else if (strcmp(argv[3], "random") == 0)
 		adrtype = 1;
 	else
 		return USAGE;



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