Skip to content
Commit 5699af2a authored by Michael Scott's avatar Michael Scott Committed by Johan Hedberg
Browse files

Bluetooth: controller: verify DLE req_rsp has valid values



During testing, lr->max_rx_octets and lr->max_tx_octets were
at times set to 0.  If we use these 0 values, we end up with
very erratic behavior.  Best, to check for a sane value and
if invalid, default to the value in _radio.conn_curr->max_*x_octets.

Change-Id: I57c0e3790d988f0de17993cebe5c5c2ab0fc07a6
Signed-off-by: default avatarMichael Scott <michael.scott@linaro.org>
parent 3f507076
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment