Bluetooth: Change interleaved discovery behavior
authorAndre Guedes <andre.guedes@openbossa.org>
Fri, 24 Feb 2012 14:41:04 +0000 (11:41 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 29 Feb 2012 14:21:04 +0000 (16:21 +0200)
commit426c189a1b34c0d36d5eddbe1c35bc961b1a1b68
treedfb8a00175bee1fb83b77fbeb8ac178a9583525a
parent978c93b90fc4768e295b20492b5db76d5e026e5e
Bluetooth: Change interleaved discovery behavior

According to last discussion on IRC, if an interleaved discovery is
issued, but the device is not dual mode, we should return error
instead of performing a regular BR/EDR or LE-only discovery.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/mgmt.c