Bluetooth: Send global configuration updates to all management users
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 15 Mar 2015 02:28:05 +0000 (19:28 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 15 Mar 2015 07:59:39 +0000 (09:59 +0200)
commitf6b7712eb660c50877a56772908326cd31125b21
tree5e5cc33537fc9922f8b8047c96b0295d4322503a
parent1195fbb8d03e5a6d7e7e49a73592caeb113a0f70
Bluetooth: Send global configuration updates to all management users

Changes to the global configuration updates like settings, class of
device, name etc. can be received by every user. They are allowed to
read them in the first place so provide the updates via events as
well. Otherwise untrusted users start polling for updates and that
is not a desired behavior.

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