Bluetooth: Fix advertising data flags with disabled BR/EDR
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 2 Oct 2013 13:02:24 +0000 (16:02 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 2 Oct 2013 13:18:18 +0000 (06:18 -0700)
commit11802b299f3337441d649dcb035a98ec1ff67ade
tree3a5b1551be0060d5c9fe93020306c5be697b7e6e
parente6fe798652bfdcdde32a33c2758853e1a8f0c759
Bluetooth: Fix advertising data flags with disabled BR/EDR

We shouldn't include the simultaneous LE & BR/EDR flags in the LE
advertising data if BR/EDR is disabled on a dual-mode controller. This
patch fixes this issue and ensures that the create_ad function generates
the correct flags when BR/EDR is disabled.

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