summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/lib.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-03-24 20:21:51 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-03-26 09:31:35 -0700
commit80c24ab85fc27a9683d732016bfa69033a292cf4 (patch)
tree072d5f23ee4adc4f195cf59fc516757a1d095e50 /net/bluetooth/lib.c
parent9c84d1da974ee8b54fa49ae369648a0247b7cd6f (diff)
Bluetooth: Fix LE responder/initiator address setting
Once directed advertising is brought into the picture simply the lack of an hci_conn object when an le_conn_complete event occurs is no longer a reliable indication that the responder & initiator values need to be set based on our advertising address type. This patch moves the code for setting these values outside of the "if (!conn)" branch and ensures that they get set for any connection where we are in the slave role. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/lib.c')
0 files changed, 0 insertions, 0 deletions