]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c34df8cbe388b7509815a0898fc670c91aac5e3
tree5e5cc33537fc9922f8b8047c96b0295d4322503a
parentc26a0405f130b9b61df3944ddcd72ecfca0f7a58
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