diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2015-06-26 13:28:52 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2015-06-26 13:28:52 +0300 |
commit | a5583ffc450aec1d988ccfcbe0690a7b37f17817 (patch) | |
tree | f0c50c822b6800724e9ca300ffff657ae8eda583 | |
parent | c9a87056d733bc23279b30243f03923e53153a94 (diff) | |
download | bluez-a5583ffc450aec1d988ccfcbe0690a7b37f17817.tar.gz |
core: Print store_hint in new_link_key_callback
This is useful information when debugging because that indicates
no-bonding was used so device will remain temporary even though it is
paired.
-rw-r--r-- | src/adapter.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/adapter.c b/src/adapter.c index 95b53495c..531f2764a 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -6696,8 +6696,9 @@ static void new_link_key_callback(uint16_t index, uint16_t length, ba2str(&addr->bdaddr, dst); - DBG("hci%u new key for %s type %u pin_len %u", adapter->dev_id, - dst, ev->key.type, ev->key.pin_len); + DBG("hci%u new key for %s type %u pin_len %u store_hint %u", + adapter->dev_id, dst, ev->key.type, ev->key.pin_len, + ev->store_hint); if (ev->key.pin_len > 16) { error("Invalid PIN length (%u) in new_key event", |