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)
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

Simple merge