Bluetooth: Fix using global connectable settings for adv
authorArman Uguray <armansito@chromium.org>
Sat, 28 Mar 2015 19:38:58 +0000 (12:38 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 28 Mar 2015 20:31:57 +0000 (21:31 +0100)
commitfaccb950f7170c37c9c2e1f82a6e33cd7a23a5c9
tree54d814512e6bb47fdc8aa91de0c96273f841fc13
parent600b21507eb64bcd85bb87d06c2c2c451b565f02
Bluetooth: Fix using global connectable settings for adv

This patch fixes a bug where ADV_NONCONN_IND was being used for
advertising instances >0 while the global connectable setting was
set to "on".

Signed-off-by: Arman Uguray <armansito@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c