diff options
Diffstat (limited to 'usr.sbin/bluetooth/hccontrol/le.c')
-rw-r--r-- | usr.sbin/bluetooth/hccontrol/le.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bluetooth/hccontrol/le.c b/usr.sbin/bluetooth/hccontrol/le.c index afb151e..c7be20d 100644 --- a/usr.sbin/bluetooth/hccontrol/le.c +++ b/usr.sbin/bluetooth/hccontrol/le.c @@ -88,7 +88,7 @@ le_set_scan_param(int s, int argc, char *argv[]) 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; |