Bluetooth: mgmt: Fix connectable/discoverable response values
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 21 Feb 2012 18:47:06 +0000 (20:47 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 21 Feb 2012 18:51:55 +0000 (20:51 +0200)
commited9b5f2fa053adce8dac88a385d2225a8ac5f0b5
tree3ef92a2f69d14ba6589e764dcf782f8f06e3db4b
parenta297e97cf7228467a8c5c76216945ccf029ae2a4
Bluetooth: mgmt: Fix connectable/discoverable response values

The connectable/discoverable flags need to be changed before sending the
response since otherwise the settings value will be incorrect.

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