]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix setting correct src_type when connecting LE
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 23 Feb 2014 17:42:28 +0000 (19:42 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 23 Feb 2014 20:24:26 +0000 (12:24 -0800)
commit1676bd5388149f0e3fb054f5e9c91286040ed8b7
tree7d5dee68b9ee71065926d86d6ab43093ac40f375
parent8a71dcbd39116da85e0e54a730c6a96124777874
Bluetooth: Fix setting correct src_type when connecting LE

This patch ensures that conn->src_type contains the same address type as
is used for initiating the connection while the connection attempt is in
progress. Once connected this value will be overwritten with the
identity address type.

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