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)
commit0224d2fafbbed4ac0cb05d08d3adab506a398451
tree58462169f8332f6db8874e60996cfb599b5ba91b
parentbeadb2bddce5810dc668da156b4c2ca457940250
Bluetooth: mgmt: Fix New Settings event for connectable/discoverable

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