Skip to content
Commit 4e0f6b87 authored by Mariusz Skamra's avatar Mariusz Skamra Committed by Johan Hedberg
Browse files

drivers/nble: Fix setting connection role



According to the data from nble_gap_connect_evt,
role_slave is "0 if connected as master, otherwise as slave",
so to be consistent with our API, this shall be mapped to
either BT_CONN_ROLE_MASTER or BT_CONN_ROLE_SLAVE.

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