Bluetooth: Fix adding discoverable to adv instance flags
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 9 Mar 2016 15:30:33 +0000 (17:30 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Mar 2016 18:51:29 +0000 (19:51 +0100)
commitd43efbd0d545f476be0bbef30cbe18234f8a9631
treef839fb6a9c7e6677e12156c1b4c8334fac266500
parenteec7a01dc8366f7e43fc0417f4aee70eaeaca9a9
Bluetooth: Fix adding discoverable to adv instance flags

When lookup up the advertising instance flags for the default
advertising instance (0) the discoverable flag should be filled in
based on the HCI_DISCOVERABLE flag.

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