Skip to content
Commit dcfd0220 authored by Ahmed Moheb's avatar Ahmed Moheb Committed by Carles Cufí
Browse files

bluetooth: host: id: Increment IDs count only on success



Increment the number of identities after a successful execution
of id_create() by checking if the return value is 0.

Signed-off-by: default avatarAhmed Moheb <ahmed.moheb@nordicsemi.no>
parent 0a2388c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment