Bluetooth: hci_sync: fix mesh adv timeout units
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Bluetooth: hci_sync: fix mesh adv timeout unitsnet/ | +4 | 1 reply | Applied |
| 2/2 | Bluetooth: make hdev->adv_instance_timeout a booleaninclude/ net/ net/ +1 more | +9 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Bluetooth: hci_sync: fix mesh adv timeout units
For mesh advertisements = adv_info::mesh nonzero, the time units are milliseconds instead of seconds like normally.
This was forgotten in hci_schedule_adv_instance_sync() and hci_enable_ext_advertising_sync() which scheduled 1000x too large timeouts.
Fix that. This is the cause for the mesh-tester "Mesh - Send cancel" failures.
Since the timeout units depend on the adv type, make hdev->adv_instance_timeout to just bool indicating if timeout is active or not.
Triaged via LLM. I wrote the patches.
Assisted-by opencode:qwen3.8-flash-next
Pauli Virtanen (2):
Bluetooth: hci_sync: fix mesh adv timeout units
Bluetooth: make hdev->adv_instance_timeout a boolean
include/net/bluetooth/hci_core.h | 2 +- net/bluetooth/hci_core.c | 6 +++--- net/bluetooth/hci_sync.c | 14 ++++++++------ net/bluetooth/mgmt.c | 2 +- 4 files changed, 13 insertions(+), 11 deletions(-)
Signature · 1 line
2.55.0