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:
Ahmed Moheb <ahmed.moheb@nordicsemi.no>
Loading
Please sign in to comment