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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"