Skip to content
Commit 44e311ed authored by Andrei Emeltchenko's avatar Andrei Emeltchenko Committed by Anas Nashif
Browse files

Bluetooth: nble: Limit number tries when reading from UART



There are situations when nble_read() might stuck reading from UART when
there is no data. Limit number of tries to 10.

Change-Id: I23380b622439ce9fa72b05f4eb527f03c749fce8
Signed-off-by: default avatarAndrei Emeltchenko <andrei.emeltchenko@intel.com>
parent e8ffda4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment