Skip to content
Commit 55c59e04 authored by Alberto Escolar Piedras's avatar Alberto Escolar Piedras Committed by Carles Cufí
Browse files

Bluetooth: Controller: Avoid division by 0 with BT_CTLR_THROUGHPUT



With very fast HCI interfaces (for ex. in the simulated nrf5340)
the tx_rate calculation can do a division by 0
(if to packets are enqueued in the same 32KHz clock period).
Let's avoid it.

Signed-off-by: default avatarAlberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
parent 18167754
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment