https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245125

            Bug ID: 245125
           Summary: [PATCH] Typo in hccontrol/le.c
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: wireless
          Assignee: wirel...@freebsd.org
          Reporter: m...@bumblingdork.com

I found a small typo in hccontrol (disble/disable):

marc@devnovo:/usr/src/usr.sbin/bluetooth/hccontrol $ hccontrol le_enable
disable
Using HCI node: ubt0hci
Usage: le_enable
le_enable [enable|disable] 
Enable LE event 
marc@devnovo:/usr/src/usr.sbin/bluetooth/hccontrol $ hccontrol le_enable disble
Using HCI node: ubt0hci


Patch below should fix it.

Index: usr.sbin/bluetooth/hccontrol/le.c
===================================================================
--- usr.sbin/bluetooth/hccontrol/le.c   (revision 359389)
+++ usr.sbin/bluetooth/hccontrol/le.c   (working copy)
@@ -306,7 +306,7 @@
                set_event_mask(s, NG_HCI_EVENT_MASK_DEFAULT |
                               NG_HCI_EVENT_MASK_LE);
                set_le_event_mask(s, NG_HCI_LE_EVENT_MASK_ALL);
-       } else if (strcasecmp(argv[0], "disble") == 0)
+       } else if (strcasecmp(argv[0], "disable") == 0)
                set_event_mask(s, NG_HCI_EVENT_MASK_DEFAULT);
        else
                return USAGE;

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to