[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-bluetooth
Subject:    Re: [PATCH] Bluetooth: Fix using the correct source address type
From:       Marcel Holtmann <marcel () holtmann ! org>
Date:       2016-11-22 21:52:44
Message-ID: 9CFD2D4B-48CA-45FA-A59C-B9787D1BE1D3 () holtmann ! org
[Download RAW message or body]

Hi Johan,

> The hci_get_route() API is used to look up local HCI devices, however
> so far it has been incapable of dealing with anything else than the
> public address of HCI devices. This completely breaks with LE-only HCI
> devices that do not come with a public address, but use a static
> random address instead.
> 
> This patch exteds the hci_get_route() API with a src_type parameter
> that's used for comparing with the right address of each HCI device.
> 
> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
> ---
> include/net/bluetooth/hci_core.h |  2 +-
> net/bluetooth/6lowpan.c          |  4 ++--
> net/bluetooth/hci_conn.c         | 26 ++++++++++++++++++++++++--
> net/bluetooth/l2cap_core.c       |  2 +-
> net/bluetooth/rfcomm/tty.c       |  2 +-
> net/bluetooth/sco.c              |  2 +-
> 6 files changed, 30 insertions(+), 8 deletions(-)

patch has been applied to bluetooth-stable tree.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic