Re: [PATCH] Bluetooth: Fix using the correct source address type

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

 



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@xxxxxxxxx>
> ---
> 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@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