Skip to content
Commit cad52d1a authored by Mariusz Skamra's avatar Mariusz Skamra
Browse files

drivers/nble: Fix execute write condition



This fixes the condition that has to be checked while writting attribute
value. According to the GATT API, write() callback returns the "number
of bytes written, or in case of an error BT_GATT_ERR() with a specific
ATT error code".

Change-Id: I4268e1d0585f5ce816ad64ca62232b6d739b780a
Signed-off-by: default avatarMariusz Skamra <mariusz.skamra@tieto.com>
parent b551a447
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment