Re: [PATCH BlueZ 1/4] core: Print store_hint in new_link_key_callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Fri, Jun 26, 2015 at 2:58 PM, Luiz Augusto von Dentz
<luiz.dentz@xxxxxxxxx> wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
>
> This is useful information when debugging because that indicates
> no-bonding was used so device will remain temporary even though it is
> paired.
> ---
>  src/adapter.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/src/adapter.c b/src/adapter.c
> index 95b5349..531f276 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",
> --
> 2.1.0

Applied.


-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux