[Bug 300178] hccontrol(8) man page references invalid LE_Set_Scan_Parameters command

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 28 Oct 2026 01:02:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300178

            Bug ID: 300178
           Summary: hccontrol(8) man page references invalid
                    LE_Set_Scan_Parameters command
           Product: Base System
           Version: 15.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: wireless
          Assignee: wireless@FreeBSD.org
          Reporter: micolous+fbsd@gmail.com

hccontrol(8)'s man page lists "LE_Set_Scan_Parameters" as a subcommand:

https://man.freebsd.org/cgi/man.cgi?query=hccontrol&sektion=8&format=html
https://github.com/freebsd/freebsd-src/blob/f2d4370fbbe6a24b663a4151e3a462e8e2c306c6/usr.sbin/bluetooth/hccontrol/hccontrol.8#L154

On FreeBSD 15.1, this returns an error:

    # hccontrol -n ubt0hci le_set_scan_parameters
    Unknown command: "le_set_scan_parameters"

This subcommand is actually named "le_set_scan_param":

https://github.com/freebsd/freebsd-src/blob/f2d4370fbbe6a24b663a4151e3a462e8e2c306c6/usr.sbin/bluetooth/hccontrol/le.c#L1288-L1293

    # hccontrol -n ubt0hci le_set_scan_param
    Usage: le_set_scan_param
    ...

The subcommand's name is listed correctly when running "hccontrol help".

So the man page should be updated.

I think this is still an issue in FreeBSD 15.2 and 16.0.

-- 
You are receiving this mail because:
You are the assignee for the bug.