Skip to content
Commit 44748607 authored by Tom Finet's avatar Tom Finet Committed by Carles Cufí
Browse files

tests: fix bsim bt l2cap send_on_connect to fail on err < 0



bt_l2cap_chan_send returns the total bytes sent from the buf,
hence test should only fail when it returns a negative error code
and not a positive number of bytes sent.

Signed-off-by: default avatarTom Finet <tom.codeninja@gmail.com>
parent b32ea30c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment