Bluetooth: Disable fast connectable when disabling connectable
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 15 Mar 2013 22:07:10 +0000 (17:07 -0500)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 18 Mar 2013 17:02:09 +0000 (14:02 -0300)
commite36a37691e53b54edb78209757fab0dd76c4614f
treeee0f6ed71ce5f35498025ca49af30622ef1e3962
parent406d78045d6c3f5912aefe69b9b02e96479d51c8
Bluetooth: Disable fast connectable when disabling connectable

When the connectable setting is disabled the fast connectable setting
must also be disabled. This is so that we're consistent with the
pre-requisites for enabling fast connectable, one of which is that the
connectable setting is enabled.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/mgmt.c