]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Bluetooth: Fix lookup of fixed channels by local bdaddr
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 15 Jan 2015 11:06:45 +0000 (13:06 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 15 Jan 2015 15:54:14 +0000 (16:54 +0100)
commit327a71910cbecd873054c3fb764f1fc59ede5297
tree272340e896d72d71f1a9a8c8703ed411216832b9
parenta250e048a7fb32c04366e3ed17707aa2be627f8a
Bluetooth: Fix lookup of fixed channels by local bdaddr

The comparing of chan->src should always be done against the local
identity address, represented by hcon->src and hcon->src_type. This
patch modifies l2cap_global_fixed_chan() to take the full hci_conn so
that we can easily compare against hcon->src and hcon->src_type.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c