Bluetooth: mgmt: Fix New Settings event for connectable/discoverable
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 21 Feb 2012 17:40:05 +0000 (19:40 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 21 Feb 2012 18:04:39 +0000 (20:04 +0200)
When powered off and doing changes to the Connectable or Discoverable
setting we should also send an appropriate New Settings event in
addition to the command response.

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

Simple merge