commit | 327a71910cbecd873054c3fb764f1fc59ede5297 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Thu Jan 15 13:06:45 2015 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Jan 15 16:54:14 2015 +0100 |
tree | 272340e896d72d71f1a9a8c8703ed411216832b9 | |
parent | a250e048a7fb32c04366e3ed17707aa2be627f8a [diff] |
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>