Bluetooth: Send new settings only when pairable changes
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 6 Oct 2013 23:11:57 +0000 (16:11 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 7 Oct 2013 06:52:26 +0000 (08:52 +0200)
commit5559435654776359679613f69f1c0a2895603a69
tree5748728db076eacee88c8ec4c37275587f1246da
parent1514b8928e5d8273920b26276cd9617b6dbc7760
Bluetooth: Send new settings only when pairable changes

In case the current value of pairable is already configured, do not
send a new settings event indicating that something has changed while
in reality everything is the same.

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